public function toArray($params = []) { return $this->processToArrayValue($this->getValue($params)); }
/** * Get value that will be used to represent this attribute when converting AbstractEntity to array * * @param array $params * * @return string */ public function toArray($params = []) { return (double) parent::toArray($params); }