Skip to content

Kirby 4.2.0

$memorycache->get()

Gets an item from the cache

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

Parameters

Name Type Default
$key * string
$default mixed null

Parent class

Kirby\Cache\MemoryCache inherited from Kirby\Cache\Cache