/** * Remove this model using the driver given * * @return void */ public function delete() { return $this->driver->logout($this); }
/** * Logout * * @return */ public function logout() { $this->auth->logout(); flash('You are now logout, See ya'); return redirect()->route('auth.login'); }