Class MockFileSessionStorage
MockFileSessionStorage is used to mock sessions for functional testing when done in a single PHP process.
No PHP session is actually started since a session can be initialized and shutdown only once per PHP execution cycle and this class does not pollute any session related globals, including session_*() functions or session.* PHP ini directives.
- Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage implements Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface
- Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage
Namespace: Symfony\Component\HttpFoundation\Session\Storage
Author: Drak <drak@zikula.org>
Located at laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/MockFileSessionStorage.php
Author: Drak <drak@zikula.org>
Located at laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/MockFileSessionStorage.php
public
|
#
__construct( string $savePath = null, string $name = 'MOCKSESSID',
Constructor. |
public
boolean
|
|
public
Boolean
|
#
regenerate( Boolean $destroy = false, integer $lifetime = null )
Regenerates id that represents this storage. |
public
|
|
private
|
|
private
string
|
|
private
|
private
string
|
$savePath |
|
|
private
array
|
$sessionData |
|
$bags,
$closed,
$data,
$id,
$metadataBag,
$name,
$started
|