/** * Destroy an authentication session. * * @return boolean */ public function logout() { if ($this->instance instanceof \Skinny\Storage) { if ($this->instance->isLocked()) { $this->instance->unlock(); } $this->instance->destroy(); } return false; }