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