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