\think\session\driverMemcached

Summary

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

Properties

$handler

$handler

$config

$config

Methods

__construct()

__construct(mixed  $config = []) : mixed

Parameters

mixed $config

Returns

mixed —

open()

open(string  $savePath, mixed  $sessName) : mixed

打开Session

Parameters

string $savePath
mixed $sessName

Returns

mixed —

close()

close() : mixed

关闭Session

Returns

mixed —

read()

read(string  $sessID) : mixed

读取Session

Parameters

string $sessID

Returns

mixed —

write()

write(string  $sessID, string  $sessData) : bool

写入Session

Parameters

string $sessID
string $sessData

Returns

bool —

destroy()

destroy(string  $sessID) : bool

删除Session

Parameters

string $sessID

Returns

bool —

gc()

gc(string  $sessMaxLifeTime) : true

Session 垃圾回收

Parameters

string $sessMaxLifeTime

Returns

true —