Session
Session classes are used to persist data for individual users, such as login details or site preferences.
All session classes implement Centum\Interfaces\Http\SessionInterface
.
SessionInterface
has 8 public methods:
start(): bool
isActive(): bool
has(string $name): bool
get(string $name, mixed $defaultValue = null): mixed
set(string $name, mixed $value): void
remove(string $name): void
clear(): void
all(): array