Exemplo n.º 1
0
 /** {@inheritDoc} */
 public function beforeSet()
 {
     $fieldName = $this->getProperty('field_name', null);
     $fieldValue = $this->getProperty('field_value', null);
     $this->setProperties($this->object->toArray());
     if (!is_null($fieldName) && !is_null($fieldValue)) {
         $this->setProperty($fieldName, $fieldValue);
     }
     return parent::beforeSet();
 }