Skip to content

Kirby 4.2.0

$appcaches->cache()

Returns a cache instance by key

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

Parameters

Name Type Default
$key * string

Return type

Kirby\Cache\Cache

Parent class

Kirby\Cms\AppCaches