Skip to content

Kirby 3.8.4

StructureUuid::for()

Shorthand to create instance by passing either UUID or model

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

Parameters

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

Return type

Kirby\Uuid\StructureUuid|null

Parent class

Kirby\Uuid\StructureUuid inherited from Kirby\Uuid\Uuid