/** * @return array */ public function toArray() { return ['label' => $this->getLabel(), 'data_key' => $this->getDataKey()] + parent::toArray(); }
/** * {@inheritdoc} */ public function toArray() { return ['can_order' => $this->canOrder()] + parent::toArray(); }