\ticky\cache\drivermemcached

Summary

Methods
Properties
Constants
exists()
get()
set()
delete()
clean()
__construct()
No public properties found
No constants found
No protected methods found
$link
$config
N/A
No private methods found
No private properties found
N/A

Properties

$link

$link : 

Type

$config

$config : 

Type

Methods

exists()

exists(  $key) : mixed

判断指定键是否存在

Parameters

$key

Returns

mixed

get()

get(string  $name) : string

获取数据

Parameters

string $name

Returns

string

set()

set(string  $name, void  $value, string  $expire = null) : void

设置数据

Parameters

string $name
void $value
string $expire

delete()

delete(string  $name) : void

删除数据

Parameters

string $name

clean()

clean() : void

清空数据

__construct()

__construct(array  $config = array()) 

构造函数

Parameters

array $config