class
Illuminate
/
Session
/
CacheBasedSessionHandler
CacheBasedSessionHandler
Implements
Properties
protected
$minutes int
The number of minutes to store the data in the cache.
Default: null
Methods
public
__construct ( Repository $cache , $minutes ) : void
Create a new cache driven handler instance.
Parameters
- $cache Repository
- $minutes int
public
open ( $savePath , $sessionName ) : bool
{@inheritdoc}
public
close ( ) : bool
{@inheritdoc}
public
read ( $sessionId ) : string
{@inheritdoc}
public
write ( $sessionId , $data ) : bool
{@inheritdoc}
public
destroy ( $sessionId ) : bool
{@inheritdoc}
public
gc ( $lifetime ) : int
{@inheritdoc}