Method | Description | |
---|---|---|
__construct ( array $options = [] ) | 架构函数 | |
clear ( ) : boolen | 清除缓存 | |
get ( string $name ) : mixed | 读取缓存 | |
getMulti ( string $prefix, $key ) : mixed | 批量读取缓存 | |
rm ( string $name, $ttl = false ) : boolen | 删除缓存 | |
set ( string $name, mixed $value, integer $expire = null ) : boolen | 写入缓存 |