Skip to content

Kirby 4.5.0

$cache->retrieve()

Internal method to retrieve the raw cache value; needs to return a Value object or null if not found; this needs to be defined by the driver

$cache->retrieve(string $key): Kirby\Cache\Value|null

Parameters

Name Type Default
$key * string

Return type

Kirby\Cache\Value|null

Parent class

Kirby\Cache\Cache