public function toArray()
{
$data = [$this->_getBaseName() => $this->getParams()];
if (!empty($this->_rawParams)) {
$data = array_merge($data, $this->_rawParams);
}
return $this->_convertArrayable($data);
}
/** * @return array */ public function toArray() { $array = parent::toArray(); if (isset($this->_text)) { $array['text'] = $this->_text; } return $array; }