Пример #1
0
 /**
  * @inheritdoc
  */
 public function getPackage($urlAction = 'view')
 {
     $p = parent::getPackage($urlAction);
     $p['type'] = 'Interface';
     if ($this->hasIcon()) {
         $p['icon'] = $this->getIcon();
     }
     return $p;
 }