コード例 #1
0
ファイル: RoleController.php プロジェクト: Viktor-V/LPanel
 /**
  * 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);
 }
コード例 #2
0
 /**
  * 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);
 }
コード例 #3
0
ファイル: AuthController.php プロジェクト: Viktor-V/LPanel
 /**
  * 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);
 }