Pantheon\Terminus\Session\Session::destroy PHP Method

destroy() public method

Removes the session from the cache
public destroy ( )
    public function destroy()
    {
        $this->getDataStore()->remove('session');
        $this->data = (object) [];
    }