redis\Cache getValue()

getValue() protected method

Retrieves a value from cache with a specified key.

This method should be implemented by child classes to retrieve the data from specific cache storage.

protected mixed|false getValue ( $key )
$key string

A unique key identifying the cached value

return mixed|false

The value stored in cache, false if the value is not in the cache or expired. Most often value is a string. If you have disabled $serializer, it could be something else.

doc_Yii
2016-10-30 17:10:44
Comments
Leave a Comment

Please login to continue.