SessionStore ​
- Type
- Class
- Namespace
- craft\mcp
- Inherits
- craft\mcp\SessionStore
- Implements
Mcp\Server\Session\SessionStoreInterface
Persists HTTP MCP sessions in Craft's configured cache.
@since 5.12.0
Public Methods ​
| Method | Description |
|---|---|
| __construct() | |
| destroy() | |
| exists() | |
| gc() | |
| read() | |
| write() |
__construct() ​
Arguments ​
$cache$scope
destroy() ​
Arguments ​
$id
exists() ​
Arguments ​
$id
gc() ​
read() ​
Arguments ​
$id
write() ​
Arguments ​
$id$data