Skip to content

Kirby 6.0.0

$redisCache->retrieve()

Internal method to retrieve the raw cache value; needs to return a Value object or null if not found

$redisCache->retrieve(string $key): Value|null

Parameters

Name Type Default
$keyrequired string no default value

Return types

Kirby\Cache\Valueornull

Parent class

Kirby\Cache\RedisCache