Back to the module list

UUID: Universal Unique Identifier

The UUID is a identifier code. This class permit to create v4 UUID like "f43f079c-7842-4285-b912-91e938d05f88"

Can be used to identify entries, CSRF tokens...

The class definition

Class Domframework\Uuid

Namespace Domframework

Description

/**
 Generate a UUID v4

Properties

No property available

Methods

static public function uuid4 ()
/**
 Create a UUID
 Based on http://php.net/manual/fr/function.uniqid.php#94959
 @return string UUID created