|
const | UUID_REGEX = '/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/' |
|
◆ generate()
◆ packAsBinary()
static packAsBinary |
( |
|
$uuid | ) |
|
|
static |
Pack a UUID into a binary string
- Parameters
-
- Returns
- string packed UUID as a binary string
- Exceptions
-
InvalidArgumentException
- Exceptions
-
UnexpectedValueException
◆ unpackBinary()
static unpackBinary |
( |
|
$packedUuid | ) |
|
|
static |
Unpack a UUID stored as a binary string
- Parameters
-
- Returns
- string unpacked UUID
- Exceptions
-
InvalidArgumentException
- Exceptions
-
UnexpectedValueException
◆ UUID_REGEX
const UUID_REGEX = '/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/' |
The documentation for this class was generated from the following file:
- C:/xoops2511b2/htdocs/class/libraries/vendor/xoops/xmf/src/Uuid.php