PHP Class Bolt\Session\Handler\FilesystemHandler

Author: Carson Full ([email protected])
Inheritance: implements SessionHandlerInterface
Mostra file Open project: bolt/bolt

Protected Properties

Property Type Description
$directory Bolt\Filesystem\Handler\DirectoryInterface

Public Methods

Method Description
__construct ( Bolt\Filesystem\Handler\DirectoryInterface $directory ) Constructor.
close ( )
destroy ( $sessionId )
gc ( $maxlifetime )
open ( $savePath, $sessionName )
read ( $sessionId )
write ( $sessionId, $data )

Method Details

__construct() public method

Constructor.
public __construct ( Bolt\Filesystem\Handler\DirectoryInterface $directory )
$directory Bolt\Filesystem\Handler\DirectoryInterface

close() public method

public close ( )

destroy() public method

public destroy ( $sessionId )

gc() public method

public gc ( $maxlifetime )

open() public method

public open ( $savePath, $sessionName )

read() public method

public read ( $sessionId )

write() public method

public write ( $sessionId, $data )

Property Details

$directory protected_oe property

protected DirectoryInterface,Bolt\Filesystem\Handler $directory
return Bolt\Filesystem\Handler\DirectoryInterface