SimpleCacheStorage
- Full name:
\Qubus\Http\Session\Storage\SimpleCacheStorage
- This class implements:
\Qubus\Http\Session\Storage\SessionStorage
Properties
cache
Methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$cache | \Psr\SimpleCache\CacheInterface |
read
Read raw Session Data from underlying storage.
Parameters:
Parameter | Type | Description |
---|---|---|
$sessionId | string |
Throws:
write
Write raw Session Data to underlying storage.
Parameters:
Parameter | Type | Description |
---|---|---|
$sessionId | string | |
$data | array | |
$ttl | int | time to live (in seconds) |
Throws:
destroy
Destroy the entire session by forcibly removing raw Session Data from underlying storage.
Parameters:
Parameter | Type | Description |
---|---|---|
$sessionId | string |
Throws:
Automatically generated on 2025-10-13