Skip to content

Kirby 3.7.5

$memcached->expires()

Checks when an item in the cache expires; returns the expiry timestamp on success, null if the item never expires and false if the item does not exist

$memcached->expires(string $key): int|null|false

Parameters

Name Type Default
$key * string

Return type

int|null|false

Parent class

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