1.20.x uuid.inc public UuidInterface::generate()

Generates a Universally Unique IDentifier (UUID).

Return value

A 32 byte integer represented as a hex string formatted with 4 hypens.:

File

includes/uuid.inc, line 19
Handling of universally unique identifiers.

Class

UuidInterface
Interface that defines a UUID backend.

Code

public function generate();