Skip to content

Kirby 5.0.4

$fileUuid->model()

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

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

Parameters

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

Return types

Kirby\Uuid\Identifiableornull

This method modifies the existing $fileuuid object it is applied to and returns it again.

Parent class

Kirby\Uuid\FileUuid inherited from Kirby\Uuid\Uuid