Skip to content

Kirby 3.9.8

FieldUuid::for()

Shorthand to create instance by passing either UUID or model

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

Parameters

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

Return type

Kirby\Uuid\FieldUuid|null

Parent class

Kirby\Uuid\FieldUuid inherited from Kirby\Uuid\Uuid