MockFileSessionStorageFactory
in package
implements
SessionStorageFactoryInterface
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $metaBag : mixed
- $name : mixed
- $savePath : mixed
- __construct() : mixed
- createStorage() : SessionStorageInterface
- Creates a new instance of SessionStorageInterface.
Properties
$metaBag
private
mixed
$metaBag
$name
private
mixed
$name
$savePath
private
mixed
$savePath
Methods
__construct()
public
__construct([string $savePath = null ][, string $name = 'MOCKSESSID' ][, MetadataBag $metaBag = null ]) : mixed
Parameters
- $savePath : string = null
- $name : string = 'MOCKSESSID'
- $metaBag : MetadataBag = null
Tags
Return values
mixed —createStorage()
Creates a new instance of SessionStorageInterface.
public
createStorage(Request|null $request) : SessionStorageInterface
Parameters
- $request : Request|null