Skip to content

Kirby 5.0.4

$fileCache->retrieve()

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

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

Parameters

Name Type Default
$keyrequired string no default value

Return types

Kirby\Cache\Valueornull

This method modifies the existing $filecache object it is applied to and returns it again.

Parent class

Kirby\Cache\FileCache