\think\session\driverCache

Summary

Methods
Properties
Constants
__construct()
read()
delete()
write()
No public properties found
No constants found
No protected methods found
$handler
$expire
$prefix
N/A
No private methods found
No private properties found
N/A

Properties

$handler

$handler : \Psr\SimpleCache\CacheInterface

Type

CacheInterface

$expire

$expire : int

Type

int

$prefix

$prefix : string

Type

string

Methods

__construct()

__construct(\think\Cache  $cache, array  $config = []) : mixed

Parameters

\think\Cache $cache
array $config

Returns

mixed —

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 —