sicam/libs/clases/utilidades/UUID.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\UUID

Package: Default

Methods

methodpublicis_valid( $uuid) : void
static

Parameters
NameTypeDescription
$uuid
methodpublicv3(\uuid $namespace, string $name) : void
static

Generate v3 UUID

Version 3 UUIDs are named based. They require a namespace (another valid UUID) and a value (the name). Given the same namespace and name, the output is always the same.

Parameters
NameTypeDescription
$namespace\uuid
$namestring
methodpublicv4() : void
static

Generate v4 UUID

Version 4 UUIDs are pseudo-random.

methodpublicv5(\uuid $namespace, string $name) : void
static

Generate v5 UUID

Version 5 UUIDs are named based. They require a namespace (another valid UUID) and a value (the name). Given the same namespace and name, the output is always the same.

Parameters
NameTypeDescription
$namespace\uuid
$namestring
Documentation was generated by phpDocumentor 2.8.5.