src/MultiTierArchitecture/Mapper/Definition/EntityMapperAbstract.php
private function setFirstEntityAttribute($entity, $attributeName, $attributeData)
    {
        $entityAttribute = $this->mappingSecondEntityToFirstEntityAttributes[$attributeName];
        $setterMethod    = 'set' . ucfirst($entityAttribute);
        if (method_exists($entity, $setterMethod)) {
            $entity->$setterMethod($attributeData);
        }
    }
private function setFirstEntityAttribute($entity, $attributeName, $attributeData)
    {
        $entityAttribute = $this->mappingSecondEntityToFirstEntityAttributes[$attributeName];
        $setterMethod    = 'set' . ucfirst($entityAttribute);
        if (method_exists($entity, $setterMethod)) {
            $entity->$setterMethod($attributeData);
        }
    }
private function setFirstEntityAttribute ( $ entity , $ attributeName , $ attributeData ) { $ entityAttribute = $ this -> mappingSecondEntityToFirstEntityAttributes [ $ attributeName ] ; $ setterMethod = 'set' . ucfirst ( $ entityAttribute ) ; if ( method_exists ( $ entity , $ setterMethod ) ) { $ entity -> $ setterMethod ( $ attributeData ) ; } }
Set entity attribute based on the attribute name and attribute data

@param \MultiTierArchitecture\Entity\Definition\EntityInterface  $entity         Entity name
@param string                                                    $attributeName  Attribute name of the entity
@param mixed                                                     $attributeData  Attribute data of the entity

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