protected function setValue($object, $value, $setter)
    {
        if (method_exists($object, $setter)) {
            $object->$setter($value);
        }
    }
protected function setValue($object, $value, $setter)
    {
        if (method_exists($object, $setter)) {
            $object->$setter($value);
        }
    }
protected function setValue ( $ object , $ value , $ setter ) { if ( method_exists ( $ object , $ setter ) ) { $ object -> $ setter ( $ value ) ; } }
Call a setter of the object

@param object $object
@param mixed  $value
@param string $setter
Call a setter of the object