コード例 #1
0
ファイル: Authentication.php プロジェクト: devvoh/parable
 /**
  * Revoke an existing authentication.
  */
 public function revokeAuthentication()
 {
     $this->user = null;
     $this->setAuthenticated(false);
     $this->session->remove('auth');
 }
コード例 #2
0
ファイル: SessionMessage.php プロジェクト: devvoh/parable
 /**
  * Write messages stored on ourself to the session
  *
  * @return $this
  */
 protected function writeToSession()
 {
     $this->session->set('messages', $this->messages);
     return $this;
 }