PHP Classes

File: manuscript/Working with Pimf_Util_Uuid.md

Recommend this page to a friend!
  Classes of Gjero Krsteski   PIMF   manuscript/Working with Pimf_Util_Uuid.md   Download  
File: manuscript/Working with Pimf_Util_Uuid.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PIMF
Framework for Web application development
Author: By
Last change: Update of manuscript/Working with Pimf_Util_Uuid.md
Date: 5 months ago
Size: 466 bytes
 

Contents

Class file image Download

Uuid

A class that generates RFC 4122 UUIDs. This specification defines a Uniform Resource Name namespace for UUIDs (Universally Unique IDentifier), also known as GUIDs (Globally Unique IDentifier). A UUID is 128 bits long, and requires no central registration process.

Generating a UUID

 $uuid = Pimf\Util\Uuid::generate();

Yes, it is not the same UUID as generated before :-)

 Pimf\Util\Uuid::generate() !== Pimf\Util\Uuid::generate()