Uuid
class Uuid (View source)
UUID Helper methods.
Constants
| VALID_PATTERN |
The pattern used to validate a UUID string. |
Methods
static bool
isValid(string $uuid)
Checks whether a string appears to be in the format of a UUID.
Details
static bool
isValid(string $uuid)
Checks whether a string appears to be in the format of a UUID.
Implementations should not implement validation, since UUIDs should be in a consistent format across all implementations.