NativeSessionStorageFactory
in package
implements
SessionStorageFactoryInterface
Tags
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- createStorage() : SessionStorageInterface
- Creates a new instance of SessionStorageInterface.
Properties
$handler
private
mixed
$handler
$metaBag
private
mixed
$metaBag
$options
private
array<string|int, mixed>
$options
$secure
private
bool
$secure
Methods
__construct()
public
__construct([array<string|int, mixed> $options = [] ][, AbstractProxy|SessionHandlerInterface $handler = null ][, MetadataBag $metaBag = null ][, bool $secure = false ]) : mixed
Parameters
- $options : array<string|int, mixed> = []
- $handler : AbstractProxy|SessionHandlerInterface = null
- $metaBag : MetadataBag = null
- $secure : bool = false
Tags
createStorage()
Creates a new instance of SessionStorageInterface.
public
createStorage(Request|null $request) : SessionStorageInterface
Parameters
- $request : Request|null