DDC-1024 - Do not generate setter/getter for inherited fields.
This commit is contained in:
parent
4ecb582c76
commit
c456f27f60
@ -639,7 +639,8 @@ public function <methodName>()
|
||||
$lines = array();
|
||||
|
||||
foreach ($metadata->fieldMappings as $fieldMapping) {
|
||||
if ($this->_hasProperty($fieldMapping['fieldName'], $metadata)) {
|
||||
if ($this->_hasProperty($fieldMapping['fieldName'], $metadata) ||
|
||||
$metadata->isInheritedField($fieldMapping['fieldName'])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user