MockFileSessionStorageFactory
in package
implements
SessionStorageFactoryInterface
Tags
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- createStorage() : SessionStorageInterface
- Creates a new instance of SessionStorageInterface.
Properties
$metaBag
private
mixed
$metaBag
$name
private
string
$name
$savePath
private
string|null
$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
createStorage()
Creates a new instance of SessionStorageInterface.
public
createStorage(Request|null $request) : SessionStorageInterface
Parameters
- $request : Request|null