コード例 #1
0
ファイル: Common.php プロジェクト: romeoz/rock-captcha
 /**
  * Removes a session.
  */
 public function removeSession()
 {
     $this->session->removeFlash($this->sessionKey);
 }
コード例 #2
0
ファイル: Captcha.php プロジェクト: romeoz/rock
 /**
  * Remove session.
  *
  * @param string|null $name
  */
 public function removeSession($name = null)
 {
     $this->session->removeFlash(Helper::getValue($name, $this->sessionName));
 }