GUID (v4)
Table of content
About
This class is responsible for generating a GUID/UUID string.
Requirements
No requirements.
Available methods
Empty
Generates an empty GUID/UUID full of zeros. Example: 00000000-0000-0000-0000-000000000000
$emptyUUID = GUIDv4::empty();
Random
Generates a random GUID/UUID. Example: d7263b5c-66b7-428e-8e6d-3df2ec9a92b9
$uuid = GUIDv4::random();