yii\caching\Cache::getValue PHP Method

getValue() abstract protected method

This method should be implemented by child classes to retrieve the data from specific cache storage.
abstract protected getValue ( string $key ) : mixed | false
$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.
    protected abstract function getValue($key);