MockFileSessionStorage
MockFileSessionStorage
class MockFileSessionStorage extends MockArraySessionStorage
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.
Methods
__construct(string $savePath = null, string $name = 'MOCKSESSID', 登录查看完整内容
|