MarshallingSessionHandler
in package
implements
SessionHandlerInterface, SessionUpdateTimestampHandlerInterface
Tags
Table of Contents
Interfaces
- SessionHandlerInterface
- SessionUpdateTimestampHandlerInterface
Properties
- $handler : mixed
- $marshaller : mixed
Methods
- __construct() : mixed
- close() : bool
- destroy() : bool
- gc() : int|false
- open() : bool
- read() : string
- updateTimestamp() : bool
- validateId() : bool
- write() : bool
Properties
$handler
private
mixed
$handler
$marshaller
private
mixed
$marshaller
Methods
__construct()
public
__construct(AbstractSessionHandler $handler, MarshallerInterface $marshaller) : mixed
Parameters
- $handler : AbstractSessionHandler
- $marshaller : MarshallerInterface
close()
public
close() : bool
Return values
booldestroy()
public
destroy(string $sessionId) : bool
Parameters
- $sessionId : string
Return values
boolgc()
public
gc(int $maxlifetime) : int|false
Parameters
- $maxlifetime : int
Return values
int|falseopen()
public
open(string $savePath, string $name) : bool
Parameters
- $savePath : string
- $name : string
Return values
boolread()
public
read(string $sessionId) : string
Parameters
- $sessionId : string
Return values
stringupdateTimestamp()
public
updateTimestamp(string $sessionId, string $data) : bool
Parameters
- $sessionId : string
- $data : string
Return values
boolvalidateId()
public
validateId(string $sessionId) : bool
Parameters
- $sessionId : string
Return values
boolwrite()
public
write(string $sessionId, string $data) : bool
Parameters
- $sessionId : string
- $data : string