Skip to content

Kirby 6.0.1

FieldUuid::from()

Creates a UUID object from a UUID string

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

Parameters

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

Return types

Kirby\Uuid\FieldUuidornull

Parent class

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