/** * {@inheritdoc} */ public function toArray() { $value = parent::toArray(); if ($this->getNestedFilter() !== null) { $value['nested_filter'][$this->getNestedFilter()->getType()] = $this->getNestedFilter()->toArray(); } return $value; }
/** * {@inheritdoc} */ public function toArray() { $value = parent::toArray(); if ($this->getNestedFilter() !== null) { $value['nested_filter'][$this->getNestedFilter()->getType()] = $this->getNestedFilter()->toArray(); } return $value; }