Skip to content

Kirby 6.0.1

StructureUuid::from()

Creates a UUID object from a UUID string

StructureUuid::from(string $uuid, array|string|null $type = null, Collection|null $context = null): StructureUuid|null

Parameters

Name Type Default
$uuidrequired string no default value
$type arrayorstringornull null
$context Kirby\Cms\Collectionornull null

Return types

Kirby\Uuid\StructureUuidornull

Parent class

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