src/MultiTierArchitecture/Mapper/Definition/EntityMapperAbstract.php
private function setSecondEntityAttribute($secondEntity, $attributeName, $attributeData)
    {
        $entityAttribute = $this->mappingFirstEntityToSecondEntityAttributes[$attributeName];
        $setterMethod    = 'set' . ucfirst($entityAttribute);

        if (method_exists($secondEntity, $setterMethod)) {
            $secondEntity->$setterMethod($attributeData);
        }
    }
private function setSecondEntityAttribute($secondEntity, $attributeName, $attributeData)
    {
        $entityAttribute = $this->mappingFirstEntityToSecondEntityAttributes[$attributeName];
        $setterMethod    = 'set' . ucfirst($entityAttribute);

        if (method_exists($secondEntity, $setterMethod)) {
            $secondEntity->$setterMethod($attributeData);
        }
    }
private function setSecondEntityAttribute ( $ secondEntity , $ attributeName , $ attributeData ) { $ entityAttribute = $ this -> mappingFirstEntityToSecondEntityAttributes [ $ attributeName ] ; $ setterMethod = 'set' . ucfirst ( $ entityAttribute ) ; if ( method_exists ( $ secondEntity , $ setterMethod ) ) { $ secondEntity -> $ setterMethod ( $ attributeData ) ; } }
Set second entity attribute based on the attribute name and attribute data

@param EntityInterface  $secondEntity   Second entity name
@param string           $attributeName  Attribute name of the entity
@param mixed            $attributeData  Attribute data of the entity

@return void
Set second entity attribute based on the attribute name and attribute data