$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|false|null
Parameters
Name | Type | Default |
---|---|---|
$keyrequired | string |
no default value |
Return types
int
orfalse
ornull
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