/** * Logout user from the application * * @return bool */ public function logout() { $this->events->fire('account.logout.before'); $this->auth->logout(); $this->session->flush(); $this->events->fire('account.logout.after'); return true; }
/** * Remove all of the items from the session. * * @return void * @static */ public static function flush() { \Illuminate\Session\Store::flush(); }
/** * {@inheritdoc} */ public function flush() { $this->session->flush(); }