Skip to content

Kirby 4.2.0

$memorycache->retrieve()

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

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

Parameters

Name Type Default
$key * string

Return type

Kirby\Cache\Value|null

Parent class

Kirby\Cache\MemoryCache