Skip to content

Kirby 4.5.0

$blockuuid->model()

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

$blockuuid->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\BlockUuid inherited from Kirby\Uuid\Uuid