Skip to content

Kirby 4.1.2

$cache->created()

Checks when the cache has been created; returns the creation timestamp on success and false if the item does not exist

$cache->created(string $key): int|false

Parameters

Name Type Default
$key * string

Return type

int|false

Parent class

Kirby\Cache\Cache