/** * Return the value of the attribute in base type int, string, null * * @return mixed */ public function getValue($returnObject = false) { $returnValue = null; if (!is_null($this->value)) { $returnValue = $returnObject ? $this->value : $this->value->getValue(); //return mixed } return $returnValue; }
public function setValue($value) { if (!empty($value)) { parent::setValue($value); } }