class
Illuminate
/
Session
/
FileSessionHandler
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
FileSessionHandler
Implements
Properties
protected
$path string
The path where sessions should be stored.
Default: null
protected
$minutes int
The number of minutes the session should be valid.
Default: null
Methods
public
__construct ( Filesystem $files , $path , $minutes ) : void
Create a new file driven handler instance.
Parameters
- $files Filesystem
- $path string
- $minutes int
public
open ( $savePath , $sessionName ) : bool
{@inheritdoc}
public
close ( ) : bool
{@inheritdoc}
public
read ( $sessionId ) : string|false
{@inheritdoc}
public
write ( $sessionId , $data ) : bool
{@inheritdoc}
public
destroy ( $sessionId ) : bool
{@inheritdoc}
public
gc ( $lifetime ) : int
{@inheritdoc}