Skip to content

Kirby 4.5.0

$memorycache->expired()

Checks if an item in the cache is expired

$memorycache->expired(string $key): bool

Parameters

Name Type Default
$key * string

Return type

bool

Parent class

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