Skip to content

Kirby 6.0.1

FileUuid::from()

Creates a UUID object from a UUID string

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

Parameters

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

Return types

Kirby\Uuid\FileUuidornull

Parent class

Kirby\Uuid\FileUuid inherited from Kirby\Uuid\Uuid