Skip to content

Kirby 4.5.0

$filecache->expired()

Checks if an item in the cache is expired

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

Parameters

Name Type Default
$key * string

Return type

bool

Parent class

Kirby\Cache\FileCache inherited from Kirby\Cache\Cache