Skip to content

Kirby 4.5.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