PeclUuidTimeGenerator
in package
implements
TimeGeneratorInterface
PeclUuidTimeGenerator provides functionality to generate strings of binary data for version 1 UUIDs using the PECL UUID PHP extension
Tags
Interfaces, Classes and Traits
- TimeGeneratorInterface
- TimeGeneratorInterface provides functionality to generate strings of binary data for version 1 UUIDs based on a host ID, sequence number, and the current time
Table of Contents
- generate() : string
- Generate a version 1 UUID using the PECL UUID extension
Methods
generate()
Generate a version 1 UUID using the PECL UUID extension
public
generate([int|string $node = null ][, int $clockSeq = null ]) : string
Parameters
- $node : int|string = null
-
Not used in this context
- $clockSeq : int = null
-
Not used in this context
Return values
string —A binary string