new Value()
new Value(mixed $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) |