[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/vendor/symfony/http-foundation/Session/Storage/ -> MockFileSessionStorage.php (summary)

(no description)

File Size: 133 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MockFileSessionStorage:: (7 methods):

Class: MockFileSessionStorage  - X-Ref

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.

__construct($savePath = null, $name = 'MOCKSESSID', MetadataBag $metaBag = null)   X-Ref

param: string      $savePath Path of directory to save session files
param: string      $name     Session name
param: MetadataBag $metaBag  MetadataBag instance

start()   X-Ref

regenerate($destroy = false, $lifetime = null)   X-Ref

save()   X-Ref

destroy()   X-Ref
Deletes a session from persistent storage.
Deliberately leaves session data in memory intact.

getFilePath()   X-Ref
Calculate path to file.

return: string File path

read()   X-Ref
Reads session from storage and loads session.

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1