Bundle/BusinessPageBundle/Builder/BusinessPageBuilder.php
protected function setEntityAttributeValue($entity, $field, $value)
    {
        $functionName = 'set'.ucfirst($field);

        call_user_func([$entity, $functionName], $value);
    }
protected function setEntityAttributeValue($entity, $field, $value)
    {
        $functionName = 'set'.ucfirst($field);

        call_user_func([$entity, $functionName], $value);
    }
protected function setEntityAttributeValue ( $ entity , $ field , $ value ) { $ functionName = 'set' . ucfirst ( $ field ) ; call_user_func ( [ $ entity , $ functionName ] , $ value ) ; }
Update the value of the entity.

@param BusinessPage $entity
@param string       $field
@param string       $value

@return mixed
Update the value of the entity .