예제 #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
파일: Session.php 프로젝트: xaamin/session
 /**
  * {@inheritdoc}
  */
 public function flush()
 {
     $this->session->flush();
 }