\Symfony\Component\HttpFoundation\Session\Storage\HandlerMigratingSessionHandler

Migrating session handler for migrating from one handler to another. It reads from the current handler and writes both the current and new ones.

It ignores errors from the new handler.

Summary

Methods
Properties
Constants
__construct()
close()
destroy()
gc()
open()
read()
write()
validateId()
updateTimestamp()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$currentHandler
$writeOnlyHandler
N/A

Properties

Methods

__construct()

__construct(\SessionHandlerInterface  $currentHandler, \SessionHandlerInterface  $writeOnlyHandler) : mixed

Parameters

\SessionHandlerInterface $currentHandler
\SessionHandlerInterface $writeOnlyHandler

Returns

mixed —

close()

close() : bool

Returns

bool —

destroy()

destroy(mixed  $sessionId) : bool

Parameters

mixed $sessionId

Returns

bool —

gc()

gc(mixed  $maxlifetime) : int|false

Parameters

mixed $maxlifetime

Returns

int|false —

open()

open(mixed  $savePath, mixed  $sessionName) : bool

Parameters

mixed $savePath
mixed $sessionName

Returns

bool —

read()

read(mixed  $sessionId) : string

Parameters

mixed $sessionId

Returns

string —

write()

write(mixed  $sessionId, mixed  $sessionData) : bool

Parameters

mixed $sessionId
mixed $sessionData

Returns

bool —

validateId()

validateId(mixed  $sessionId) : bool

Parameters

mixed $sessionId

Returns

bool —

updateTimestamp()

updateTimestamp(mixed  $sessionId, mixed  $sessionData) : bool

Parameters

mixed $sessionId
mixed $sessionData

Returns

bool —