protected function simulateSessionDestroy(SessionHandler $handler) { $handler->destroy('example'); $handler->close(); }
/** * Close the session * @link http://php.net/manual/en/sessionhandlerinterafce.close.php * @return bool */ public function close() { return $this->handler->close(); }