Redis模型注解
$poolName : string
redis 连接池名称
$db : integer
第几个库,不传为null时使用连接池默认配置
$key : string
键,支持定义多个参数,格式:{key}
$ttl : integer
数据默认的过期时间,null为永不过期
$defaultFieldName : string
只传一个参数时的参数名
$data : array
数据
__construct( $data = array())
offsetGet( $offset)
__wakeup()
offsetExists( $offset)
offsetSet( $offset, $value)
offsetUnset( $offset)
current()
key()
next()
rewind()
valid()
__set( $name, $value)
__get( $name)
__isset( $name)
__unset( $name)
toArray() : array
将当前对象作为数组返回
jsonSerialize() : array
json 序列化