\LibMelanie\LibUUID

Classe permettant de générer des UUID en v3, v4 et v5

Summary

Methods
Properties
Constants
v3()
v4()
v5()
is_valid()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

v3()

v3(string  $namespace,string  $name): string

Génération d'un UUIDv3

Parameters

string $namespace
string $name

Returns

string —

UUIDv3

v4()

v4(): string

Génération d'un UUIDv4

Returns

string —

UUIDv4

v5()

v5(string  $namespace,string  $name): string

Génération d'un UUIDv5

Parameters

string $namespace
string $name

Returns

string —

UUIDv5

is_valid()

is_valid(  $uuid): boolean

Validation de l'UUID

Parameters

$uuid

Returns

boolean