public function toArray()
 {
     $array = parent::toArray();
     $array['name'] = $this->getName();
     return $array;
 }
Exemplo n.º 2
0
 public function toArray()
 {
     $array = parent::toArray();
     $array['name'] = $this->getName();
     $array['displayName'] = $this->getDisplayName();
     $array['features'] = $this->features->toArray();
     $array['enabled'] = $this->getEnabled();
     return $array;
 }