MarshallingSessionHandler
in package
implements
SessionHandlerInterface, SessionUpdateTimestampHandlerInterface
Tags
Interfaces, Classes and Traits
- SessionHandlerInterface
- SessionUpdateTimestampHandlerInterface
Table of Contents
- $handler : mixed
- $marshaller : mixed
- __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
Return values
mixed —close()
public
close() : bool
Return values
bool —destroy()
public
destroy(mixed $sessionId) : bool
Parameters
- $sessionId : mixed
Return values
bool —gc()
public
gc(mixed $maxlifetime) : int|false
Parameters
- $maxlifetime : mixed
Return values
int|false —open()
public
open(mixed $savePath, mixed $name) : bool
Parameters
- $savePath : mixed
- $name : mixed
Return values
bool —read()
public
read(mixed $sessionId) : string
Parameters
- $sessionId : mixed
Return values
string —updateTimestamp()
public
updateTimestamp(mixed $sessionId, mixed $data) : bool
Parameters
- $sessionId : mixed
- $data : mixed
Return values
bool —validateId()
public
validateId(mixed $sessionId) : bool
Parameters
- $sessionId : mixed
Return values
bool —write()
public
write(mixed $sessionId, mixed $data) : bool
Parameters
- $sessionId : mixed
- $data : mixed