\think\contractSessionHandlerInterface

Session驱动接口

Summary

Methods
Constants
read()
delete()
write()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

read()

read(string  $sessionId) : string

Parameters

string $sessionId

Returns

string —

delete()

delete(string  $sessionId) : bool

Parameters

string $sessionId

Returns

bool —

write()

write(string  $sessionId, string  $data) : bool

Parameters

string $sessionId
string $data

Returns

bool —