Skip to content

Kirby 4.1.2

$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