new Value()
Constructor
new Value($value, int $minutes = 0, int|null $created = null)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $valuerequired | mixed |
no default value | |
| $minutes | int |
0
|
the number of minutes until the value expires or an absolute UNIX timestamp |
| $created | intornull |
null
|
the UNIX timestamp when the value has been created (defaults to the current time) |