DDC-1024 - Do not generate setter/getter for inherited fields.
This commit is contained in:
parent
4ecb582c76
commit
c456f27f60
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue