芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/tepakanyucatan.gob.mx/libraries/src/Session/SessionManager.php
sessionHandler = $sessionHandler; } /** * Destroys the given session ID. * * @param string $sessionId The session ID to destroy. * * @return boolean * * @since 4.0.0 */ public function destroySession(string $sessionId): bool { return $this->sessionHandler->destroy($sessionId); } /** * Destroys the given session IDs. * * @param string[] $sessionIds The session IDs to destroy. * * @return boolean * * @since 4.0.0 */ public function destroySessions(array $sessionIds): bool { $result = true; foreach ($sessionIds as $sessionId) { if (!$this->destroySession($sessionId)) { $result = false; } } return $result; } }