Пример #1
0
 /**
  * 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;
 }
Пример #2
0
 /**
  * Remove all of the items from the session.
  *
  * @return void 
  * @static 
  */
 public static function flush()
 {
     \Illuminate\Session\Store::flush();
 }
Пример #3
0
 /**
  * {@inheritdoc}
  */
 public function flush()
 {
     $this->session->flush();
 }