/** * RoleController constructor * * @param Application $app * @param ViewFactory $view * @param ResponseFactory $response * @param Request $request * @param Redirector $redirect * @param BaseBlock $baseBlock * @param RoleRepository $roleRepository */ public function __construct(Application $app, ViewFactory $view, ResponseFactory $response, Request $request, Redirector $redirect, BaseBlock $baseBlock, RoleRepository $roleRepository) { $this->roleRepository = $roleRepository; parent::__construct($app, $view, $response, $request, $redirect); }
/** * PermissionController constructor * * @param Application $app * @param ViewFactory $view * @param ResponseFactory $response * @param Request $request * @param Redirector $redirect * @param PermissionRepository $permissionRepository */ public function __construct(Application $app, ViewFactory $view, ResponseFactory $response, Request $request, Redirector $redirect, PermissionRepository $permissionRepository) { $this->permissionRepository = $permissionRepository; parent::__construct($app, $view, $response, $request, $redirect); }
/** * AuthController constructor * * @param Application $app * @param ViewFactory $view * @param ResponseFactory $response * @param Request $request * @param Redirector $redirect * @param AuthManager $auth */ public function __construct(Application $app, ViewFactory $view, ResponseFactory $response, Request $request, Redirector $redirect, AuthManager $auth) { $this->auth = $auth; parent::__construct($app, $view, $response, $request, $redirect); }