MockFileSessionStorageFactory
in package
implements
SessionStorageFactoryInterface
Tags
Interfaces, Classes and Traits
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|null $savePath = null ][, string $name = 'MOCKSESSID' ][, MetadataBag|null $metaBag = null ]) : mixed
Parameters
- $savePath : string|null = null
- $name : string = 'MOCKSESSID'
- $metaBag : MetadataBag|null = null
Tags
Return values
mixed —createStorage()
Creates a new instance of SessionStorageInterface.
public
createStorage(Request|null $request) : SessionStorageInterface
Parameters
- $request : Request|null