function Uuid::uuid6
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
UuidInterface A UuidInterface instance that represents a version 6 UUID
File
-
vendor/
ramsey/ uuid/ src/ Uuid.php, line 698
Class
- Uuid
- Uuid provides constants and static methods for working with and generating UUIDs
Namespace
Ramsey\UuidCode
public static function uuid6(?Hexadecimal $node = null, ?int $clockSeq = null) : UuidInterface {
return self::getFactory()->uuid6($node, $clockSeq);
}