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