Beispiel #1
0
 protected function inject(\Zend\View\Helper\Navigation\HelperInterface $helper)
 {
     parent::inject($helper);
     if ($helper instanceof Navigation || $helper instanceof Menu) {
         $helper->setRoles($this->getRoles());
     }
 }