StoreInterface
interface StoreInterface
Store interface.
Methods
write(string $sessionId, array $sessionData, int $dataTTL)
Writes session data.
array
read(string $sessionId)
Reads and returns session data.
delete(string $sessionId)
Destroys the session data assiciated with the provided id.
gc(int $dataTTL)
Garbage collector that deletes expired session data.
Details
at line 22
write(string $sessionId, array $sessionData, int $dataTTL)
Writes session data.
at line 30
array
read(string $sessionId)
Reads and returns session data.
at line 37
delete(string $sessionId)
Destroys the session data assiciated with the provided id.
at line 44
gc(int $dataTTL)
Garbage collector that deletes expired session data.