Skip to content

Kirby 4.2.0

new Value()

Constructor

new Value($value, int $minutes = 0, ?int $created = null)

Parameters

Name Type Default Description
$value * mixed
$minutes int 0 the number of minutes until the value expires
or an absolute UNIX timestamp
$created int|null null the UNIX timestamp when the value has been created
(defaults to the current time)

Parent class

Kirby\Cache\Value