Skip to content

Kirby 3.9.8

$modeluuid->model()

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

$modeluuid->model(bool $lazy = false): Kirby\Uuid\Identifiable|null

Parameters

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

Return type

Kirby\Uuid\Identifiable|null

Parent class

Kirby\Uuid\ModelUuid inherited from Kirby\Uuid\Uuid