Method | Description | |
---|---|---|
getRedis ( ) : Redi\Redis | null | Gets the redis instance used by the cache. | |
setRedis ( Redis $redis ) : void | Sets the redis instance to use. |
Method | Description | |
---|---|---|
doContains ( $id ) | ||
doDelete ( $id ) | ||
doFetch ( $id ) | ||
doFetchMultiple ( array $keys ) | ||
doFlush ( ) | ||
doGetStats ( ) | ||
doSave ( $id, $data, $lifeTime ) | ||
doSaveMultiple ( array $keysAndValues, $lifetime ) | ||
getSerializerValue ( ) : integer | Returns the serializer constant to use. If Redis is compiled with igbinary support, that is used. Otherwise the default PHP serializer is used. |
protected doSaveMultiple ( array $keysAndValues, $lifetime ) | ||
$keysAndValues | array |
protected getSerializerValue ( ) : integer | ||
return | integer | One of the Redis::SERIALIZER_* constants |