caching\Cache getValue()

getValue() protected abstract 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 abstract 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 16:53:51
Comments
Leave a Comment

Please login to continue.