Skip to content

Kirby 6.0.1

$fileCache->expired()

Checks if an item in the cache is expired

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

Parameters

Name Type Default
$keyrequired string no default value

Return type

bool

Parent class

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