$modelUuid->model()
Tries to find the identifiable model in cache or index and returns the object
$modelUuid->model(bool $lazy = false): ModelWithContent|null
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $lazy | bool |
false
|
If true, only lookup from cache |
Return types
Kirby\Cms\ModelWithContentornull
Parent class
Kirby\Uuid\ModelUuid
inherited from Kirby\Uuid\Uuid