Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function setAttribute($name, $value = null)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'setAttribute');
     if (!$pluginInfo) {
         return parent::setAttribute($name, $value);
     } else {
         return $this->___callPlugins('setAttribute', func_get_args(), $pluginInfo);
     }
 }