$responder->expires()
Setter and getter for the cache expiry timestamp for Kirby's cache
Parameters
Name | Type | Default | Description |
---|---|---|---|
$expires | int |string |null |
null |
Timestamp, number of minutes or time string to parse |
$override | bool |
false |
If true , the already defined timestamp will be overridden |
Return type
int
|null
|Kirby\Cms\Responder
This method modifies the existing $responder
object it is applied to and returns it again.