コード例 #1
0
ファイル: AccountService.php プロジェクト: maxupunk/metin2cms
 /**
  * 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
ファイル: _ide_helper.php プロジェクト: satriashp/tour
 /**
  * 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();
 }