Skip to content

Kirby 4.1.2

$cache->get()

Gets an item from the cache

$cache->get(string $key, $default = null)

Parameters

Name Type Default
$key * string
$default mixed null

Parent class

Kirby\Cache\Cache