Skip to content

Kirby 4.2.0

$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