Lines
n/a
0 / 0
Functions and Methods
n/a
0 / 0
Classes and Traits
n/a
0 / 0
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | <?php | |
| 2 | ||
| 3 | namespace BO\Slim\Middleware\Session; | |
| 4 | ||
| 5 | interface SessionInterface extends \JsonSerializable | |
| 6 | { | |
| 7 | public function setGroup(array $group, bool $clear = false): void; | |
| 8 | ||
| 9 | public function set(int|string $key, mixed $value, int|string|null $groupIndex = null): void; | |
| 10 | ||
| 11 | public function get(int|string $key, int|string|null $groupIndex = null, mixed $default = null): mixed; | |
| 12 | ||
| 13 | public function getEntity(): mixed; | |
| 14 | ||
| 15 | public function remove(int|string $key, int|string|null $groupIndex = null): void; | |
| 16 | ||
| 17 | public function clear(): void; | |
| 18 | ||
| 19 | public function clearGroup(int|string|null $groupIndex = null): void; | |
| 20 | ||
| 21 | public function has(int|string $key, int|string|null $groupIndex = null): ?bool; | |
| 22 | ||
| 23 | public function isEmpty(): bool; | |
| 24 | } |