Skip to content

Kirby 5.0.4

$value->expires()

Returns the expiration date as UNIX timestamp or null if the value never expires

$value->expires(): int|null

Return types

intornull

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

Parent class

Kirby\Cache\Value