コード例 #1
0
ファイル: Login.php プロジェクト: s3b4stian/framework
 /**
  * For do logout, delete login information from session
  *
  * @return bool
  */
 public function logout() : bool
 {
     unset($this->sessionInstance->login, $this->sessionInstance->loginTime);
     $this->sessionInstance->regenerate();
     $this->logged = false;
     return true;
 }