class
Illuminate
/
Session
/
CacheBasedSessionHandler
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
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}