123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <?php
- declare(strict_types=1);
- namespace OCP;
- use OCP\Session\Exceptions\SessionNotAvailableException;
- interface ISession {
-
- public function set(string $key, $value);
-
- public function get(string $key);
-
- public function exists(string $key): bool;
-
- public function remove(string $key);
-
- public function clear();
-
- public function reopen(): bool;
-
- public function close();
-
- public function regenerateId(bool $deleteOldSession = true, bool $updateToken = false);
-
- public function getId(): string;
- }
|