/** * @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; }
public function __construct() { parent::__construct(); $this->middleware('backend.guest'); }
/** * dashboard constructor */ public function __construct() { parent::__construct(); $this->middleware('backend.authenticated'); $this->triggerBeforeBackendHook(); }
public function __construct() { parent::__construct(); $this->middleware('backend.guest', array('except' => 'getLogout')); }