Skip to content

Kirby 4.2.0

FileUuid::for()

Shorthand to create instance by passing either UUID or model

FileUuid::for(Kirby\Uuid\Identifiable|string $seed, ?Kirby\Cms\Collection $context = null): Kirby\Uuid\FileUuid|null

Parameters

Name Type Default
$seed * Kirby\Uuid\Identifiable|string
$context Kirby\Cms\Collection|null null

Return type

Kirby\Uuid\FileUuid|null

Parent class

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