Skip to content

Kirby 4.2.0

$nullcache->expired()

Checks if an item in the cache is expired

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

Parameters

Name Type Default
$key * string

Return type

bool

Parent class

Kirby\Cache\NullCache inherited from Kirby\Cache\Cache