ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Data\UUID\Factory Class Reference
+ Collaboration diagram for ILIAS\Data\UUID\Factory:

Public Member Functions

 __construct ()
 Factory constructor. More...
 
 uuid4 ()
 
 uuid4AsString ()
 

Private Attributes

 $uuid_factory
 

Detailed Description

Definition at line 14 of file Factory.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Data\UUID\Factory::__construct ( )

Factory constructor.

Definition at line 26 of file Factory.php.

27  {
28  $this->uuid_factory = new UuidFactory();
29  }

Member Function Documentation

◆ uuid4()

ILIAS\Data\UUID\Factory::uuid4 ( )
Returns
Uuid
Exceptions
Exception

Definition at line 35 of file Factory.php.

Referenced by ILIAS\Data\UUID\Factory\uuid4AsString().

35  : Uuid
36  {
37  return new RamseyUuidWrapper($this->uuid_factory->uuid4());
38  }
+ Here is the caller graph for this function:

◆ uuid4AsString()

ILIAS\Data\UUID\Factory::uuid4AsString ( )
Returns
string
Exceptions
Exception

Definition at line 44 of file Factory.php.

References ILIAS\Data\UUID\Factory\uuid4().

44  : string
45  {
46  return $this->uuid4()->toString();
47  }
+ Here is the call graph for this function:

Field Documentation

◆ $uuid_factory

ILIAS\Data\UUID\Factory::$uuid_factory
private

Definition at line 21 of file Factory.php.


The documentation for this class was generated from the following file: