auth = $auth; $this->response = $response; } /** * Run the request filter. * * @return mixed */ public function filter() { if ($this->auth->check()) { return $this->response->redirectTo('/'); } } }