Esempio n. 1
0
 /**
  * @param int $sectionId
  * @param string $module
  * @param \Esports\Utils\Tree $tree
  * @param \App\Helper\MenuItem $menuItem
  * @param \Esports\Utils\PresenterBridge $presenterBridge
  * @param \App\MenuLinkComparator $menuLinkComparator
  */
 function __construct($sectionId, $module, Tree $tree, MenuItem $menuItem, PresenterBridge $presenterBridge, MenuLinkComparator $menuLinkComparator)
 {
     parent::__construct();
     $this->tree = $tree;
     $this->menuItem = $menuItem;
     $this->module = $module;
     $this->sectionId = $sectionId;
     $this->presenterBridge = $presenterBridge;
     $this->menuLinkComparator = $menuLinkComparator;
 }
Esempio n. 2
0
 /**
  * @param \Esports\Privileges\RightChecker $rightChecker
  */
 function __construct(RightChecker $rightChecker)
 {
     parent::__construct();
     $this->rightChecker = $rightChecker;
 }