# LazyValue

Store a lazy value (safe from processing inside a closure) in this class wrapper to also protect it from being unwrapped by normal `Closure`/`is_callable()` checks

****

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

****

### LazyValue

- [new LazyValue()](https://getkirby.com/docs/reference/objects/toolkit/lazy-value/__construct.md)
- [$lazyValue->resolve()](https://getkirby.com/docs/reference/objects/toolkit/lazy-value/resolve.md)
- [LazyValue::unwrap()](https://getkirby.com/docs/reference/objects/toolkit/lazy-value/unwrap.md)