ModelUuid::from()
Creates a UUID object from a UUID string
ModelUuid::from(string $uuid, array|string|null $type = null, Collection|null $context = null): ModelUuid|null
Parameters
| Name | Type | Default |
|---|---|---|
| $uuidrequired | string |
no default value |
| $type | arrayorstringornull |
null
|
| $context | Kirby\Cms\Collectionornull |
null
|
Return types
Kirby\Uuid\ModelUuidornull
Parent class
Kirby\Uuid\ModelUuid
inherited from Kirby\Uuid\Uuid