Skip to content

Kirby 6.0.0

UserUuid::from()

Creates a UUID object from a UUID string

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

Parameters

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

Return types

Kirby\Uuid\UserUuidornull

Parent class

Kirby\Uuid\UserUuid inherited from Kirby\Uuid\Uuid