\ticky\cache\driverredis

Summary

Methods
Properties
Constants
exists()
get()
set()
delete()
clean()
__construct()
increment()
decrement()
$config
$driver
$cache
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$config

$config : 

Type

$driver

$driver : 

Type

$cache

$cache : 

Type

Methods

exists()

exists(  $key) : mixed

判断指定键是否存在

Parameters

$key

Returns

mixed

get()

get(  $key) : mixed

获取指定键的值

Parameters

$key

Returns

mixed

set()

set(  $key,   $value, integer  $expire) : mixed

设置指定键的值

Parameters

$key
$value
integer $expire

Returns

mixed

delete()

delete(  $key) : mixed

删除指定键

Parameters

$key

Returns

mixed

clean()

clean() : mixed

删除所有缓存

Returns

mixed

__construct()

__construct(  $config) 

Parameters

$config

increment()

increment(  $key,   $value = 1) 

Parameters

$key
$value

decrement()

decrement(  $key,   $value = 1) 

Parameters

$key
$value