Skip to content

Kirby 4.2.0

$uuid->model()

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

$uuid->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\Uuid