Skip to content

Kirby 4.5.0

$memorycache->created()

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

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

Parameters

Name Type Default
$key * string

Return type

int|false

Parent class

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