# Value

Cache Value Stores the value, creation timestamp and expiration timestamp and makes it possible to store all three with a single cache key

****

- Full class name: `Kirby\Cache\Value`
- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Cache/Value.php#L18>

****

### Value

- [new Value()](https://getkirby.com/docs/reference/objects/cache/value/__construct.md)
- [$value->created()](https://getkirby.com/docs/reference/objects/cache/value/created.md)
- [$value->expires()](https://getkirby.com/docs/reference/objects/cache/value/expires.md)
- [Value::fromArray()](https://getkirby.com/docs/reference/objects/cache/value/from-array.md)
- [Value::fromJson()](https://getkirby.com/docs/reference/objects/cache/value/from-json.md)
- [$value->toArray()](https://getkirby.com/docs/reference/objects/cache/value/to-array.md)
- [$value->toJson()](https://getkirby.com/docs/reference/objects/cache/value/to-json.md)
- [$value->value()](https://getkirby.com/docs/reference/objects/cache/value/value.md)