FileSessionHandler
class FileSessionHandler implements SessionHandlerInterface
Methods
__construct(Filesystem $files, string $path, int $minutes)
Create a new file driven handler instance.
bool
open(string $savePath, string $sessionName)
No description
bool
close()
No description
string
create_sid()
Create a new session ID.
bool
validateId(string $id)
Determine if the session ID exists.
false|string
read(string $sessionId)
No description
bool
write(string $sessionId, string $data)
No description
bool
destroy(string $sessionId)
No description
int
gc(int $lifetime)
No description
Details
at line 23
__construct(Filesystem $files, string $path, int $minutes)
Create a new file driven handler instance.
at line 30
bool
open(string $savePath, string $sessionName)
No description
at line 35
bool
close()
No description
at line 43
string
create_sid()
Create a new session ID.
at line 51
bool
validateId(string $id)
Determine if the session ID exists.
at line 56
false|string
read(string $sessionId)
No description
at line 71
bool
write(string $sessionId, string $data)
No description
at line 76
bool
destroy(string $sessionId)
No description
at line 83
int
gc(int $lifetime)
No description