/** * Destroys the session. * * @return void */ public function destroy() { $this->storage->delete($this->getStorageKey()); $this->data = array(); $this->isLoaded = false; $this->id = null; }