Skip to content

Kirby 6.0.1

$structureUuid->model()

Tries to find the identifiable model in cache or index and returns the object

$structureUuid->model(bool $lazy = false): TModel|null

Parameters

Name Type Default Description
$lazy bool false If true, only lookup from cache

Return types

TModelornull

Parent class

Kirby\Uuid\StructureUuid inherited from Kirby\Uuid\Uuid