public function __construct(Application $app) { parent::__construct($app); $manager = new AccessControlManager($app); $manager->load(); $this->accessControls = $manager->get(); }
public function __construct(Application $app) { parent::__construct($app); $manager = new RolesManager(); $manager->load(); $this->roles = $manager->get(); }
public function __construct(Application $app) { parent::__construct($app); $this->rolesManager = new RolesManager(); $this->rolesManager->load(); $this->providersManager = new ProvidersManager($app); $this->providersManager->load(); }
public function __construct(Application $app) { parent::__construct($app); $manager = new FirewallsManager($app); $manager->load(); $this->firewalls = $manager->get(); $this->accessControl = new AccessControlHandler($app); $this->providerHandler = new ProvidersHandler($app); }
public function __construct($app, $module, $name, $action, $vars = []) { parent::__construct($app); $this->formBuilder = new FormBuilder(); $this->setPage($app, $this); $this->page->attach($this->getService('templater')); $this->setModule($module); $this->setAction($action); $this->setName($name); }
public function __construct(Application $app) { parent::__construct($app); }
public function __construct(Application $app, Controller $controller = null) { parent::__construct($app); $this->controller = $controller; $this->viewFinder = new ViewFinder(); }
public function __construct(Application $app, $manager) { parent::__construct($app); $this->manager = $manager; }