$kirby->cache()
Returns a cache instance by key
$kirby->cache(string $key): Kirby\Cache\Cache
Parameters
| Name | Type | Default |
|---|---|---|
| $keyrequired | string |
no default value |
Return type
This method modifies the existing $app object it is applied to and returns it again.