public function destroy()
{
if (!$this->cookieExists() || !$this->sessionExists()) {
return;
}
session_destroy();
// send expire cookies
$this->expireSessionCookie();
// clear session data
unset($_SESSION[$this->getNamespace()]);
}