コード例 #1
0
 /**
  * @param Request $request
  * @param Response $response
  */
 public function __construct(Request $request, Response $response)
 {
     parent::__construct();
     $this->middleware('backend.authenticated');
     $this->request = $request;
     $this->response = $response;
 }
コード例 #2
0
 public function __construct()
 {
     parent::__construct();
     $this->middleware('backend.guest');
 }
コード例 #3
0
 /**
  * dashboard constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->middleware('backend.authenticated');
     $this->triggerBeforeBackendHook();
 }
コード例 #4
0
 public function __construct()
 {
     parent::__construct();
     $this->middleware('backend.guest', array('except' => 'getLogout'));
 }