uuid
final class uuid implements JsonSerializable, Stringable
| internal |
Value Object: UUID.
Validates and holds a UUID v4 string.
Methods
__construct(string $value)
No description
string
__toString()
String representation of the UUID.
static uuid
from_string(string $uuid)
Create from an existing UUID string.
string
jsonSerialize()
JSON serialize to raw UUID string.
Details
at line 37
__construct(string $value)
No description
at line 47
string
__toString()
String representation of the UUID.
at line 55
static uuid
generate()
Generate a new UUID using Moodle core.
at line 63
static uuid
from_string(string $uuid)
Create from an existing UUID string.
at line 71
string
jsonSerialize()
JSON serialize to raw UUID string.