Skip to content

Kirby 5.0.4

$memCached->created()

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

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

Parameters

Name Type Default
$keyrequired string no default value

Return types

intorfalse

This method modifies the existing $memcached object it is applied to and returns it again.

Parent class

Kirby\Cache\MemCached inherited from Kirby\Cache\Cache