function v6
Returns a version 6 (reordered time) UUID from a host ID, sequence number, and the current time
Parameters
Hexadecimal|null $node A 48-bit number representing the hardware: address
int|null $clockSeq A 14-bit number used to help avoid duplicates that: could arise when the clock is set backwards in time or if the node ID changes
Return value
non-empty-string Version 6 UUID as a string
2 string references to 'v6'
- CurlFactory::applyHandlerOptions in vendor/
guzzlehttp/ guzzle/ src/ Handler/ CurlFactory.php - StreamHandler::resolveHost in vendor/
guzzlehttp/ guzzle/ src/ Handler/ StreamHandler.php
File
-
vendor/
ramsey/ uuid/ src/ functions.php, line 121
Namespace
Ramsey\UuidCode
function v6(?Hexadecimal $node = null, ?int $clockSeq = null) : string {
return Uuid::uuid6($node, $clockSeq)->toString();
}