CacheBasedSessionHandler
class CacheBasedSessionHandler implements SessionHandlerInterface
Properties
protected Repository | $cache | The cache repository instance. |
|
protected int | $minutes | The number of minutes to store the data in the cache. |
Methods
void
open($savePath, $sessionName)
{@inheritdoc}
close()
{@inheritdoc}
read($sessionId)
{@inheritdoc}
write($sessionId, $data)
{@inheritdoc}
destroy($sessionId)
{@inheritdoc}
gc($lifetime)
{@inheritdoc}
getCache()
Get the underlying cache repository.
Details
at line 31
void
__construct(Repository $cache, int $minutes)
Create a new cache driven handler instance.
at line 40
open($savePath, $sessionName)
{@inheritdoc}
at line 48
close()
{@inheritdoc}
at line 56
read($sessionId)
{@inheritdoc}
at line 64
write($sessionId, $data)
{@inheritdoc}
at line 72
destroy($sessionId)
{@inheritdoc}
at line 80
gc($lifetime)
{@inheritdoc}
at line 90
Repository
getCache()
Get the underlying cache repository.