$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 |
---|---|---|
$keyrequired | string |
no default value |
Return types
int
orfalse
This method modifies the existing $memorycache
object it is applied to and returns it again.
Parent class
Kirby\Cache\MemoryCache
inherited from Kirby\Cache\Cache