Class Cache

Summary

Fully Qualified Name: Zend\Session\SaveHandler\Cache
Implements: SaveHandlerInterface

Description

Cache session save handler

Methods

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

Method Details

__construct()

Constructor

Parameter Name Type Description
$cacheStorage \CacheStorage

Returns:

close()

Close session

Returns: bool

destroy()

Destroy session

Parameter Name Type Description
$id string

Returns: bool

gc()

Garbage Collection

Parameter Name Type Description
$maxlifetime int

Returns: bool

getCacheStorage()

Get cache storage

Returns: \CacheStorage

getCacheStorge()

Returns:

open()

Open Session

Parameter Name Type Description
$savePath string
$name string

Returns: bool

read()

Read session data

Parameter Name Type Description
$id string

Returns: string

setCacheStorage()

Set cache storage

Parameter Name Type Description
$cacheStorage \CacheStorage

Returns: \Cache

write()

Write session data

Parameter Name Type Description
$id string
$data string

Returns: bool

Top