Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Pantheon
Terminus
Session
Session
destroy
Pantheon\Terminus\Session\Session::destroy PHP Method
Session Class Documentation
Show file
Open project: pantheon-systems/terminus
destroy()
public
method
Removes the session from the cache
public
destroy
( )
public function destroy() { $this->getDataStore()->remove('session'); $this->data = (object) []; }
Session
__construct
destroy
get
getTokens
getUser
isActive
setData
setDataStore