| Fully Qualified Name: | Laminas\Session\SaveHandler\Cache |
| Implements: | SaveHandlerInterface |
Cache session save handler
| Name | Description | Defined By |
|---|---|---|
| __construct() | Constructor | Cache |
| close() | Close session | Cache |
| destroy() | Destroy session | Cache |
| gc() | Garbage Collection | Cache |
| getCacheStorage() | Get cache storage | Cache |
| getCacheStorge() | Cache | |
| open() | Open Session | Cache |
| read() | Read session data | Cache |
| setCacheStorage() | Set cache storage | Cache |
| write() | Write session data | Cache |
Constructor
| Parameter Name | Type | Description |
|---|---|---|
| $cacheStorage | \CacheStorage |
Returns:
Close session
Returns: bool
Destroy session
| Parameter Name | Type | Description |
|---|---|---|
| $id | string |
Returns: bool
Garbage Collection
| Parameter Name | Type | Description |
|---|---|---|
| $maxlifetime | int |
Returns: bool
Get cache storage
Returns: \CacheStorage
Returns:
Open Session
| Parameter Name | Type | Description |
|---|---|---|
| $savePath | string | |
| $name | string |
Returns: bool
Read session data
| Parameter Name | Type | Description |
|---|---|---|
| $id | string |
Returns: string
Set cache storage
| Parameter Name | Type | Description |
|---|---|---|
| $cacheStorage | \CacheStorage |
Returns: \Cache
Write session data
| Parameter Name | Type | Description |
|---|---|---|
| $id | string | |
| $data | string |
Returns: bool