Skip to content

Kirby 4.5.0

$kirby->cache()

Returns a cache instance by key

$kirby->cache(string $key): Kirby\Cache\Cache

Parameters

Name Type Default
$key * string

Return type

Kirby\Cache\Cache

Parent class

Kirby\Cms\App