Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
generate ($node=null, $clockSeq=null) | |
TimeGeneratorInterface provides functionality to generate strings of binary data for version 1 UUIDs based on a host ID, sequence number, and the current time
Generate a version 1 UUID from a host ID, sequence number, and the current time
int | string | $node | A 48-bit number representing the hardware address This number may be represented as an integer or a hexadecimal string. |
int | $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. |
UnsatisfiedDependencyException | if called on a 32-bit system and Moontoast\Math\BigNumber is not present |
InvalidArgumentException | |
Exception | if it was not possible to gather sufficient entropy |
Implémenté dans DefaultTimeGenerator, et PeclUuidTimeGenerator.