ILIAS  release_8 Revision v8.19
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 ()
 
 uuid4 ()
 
 uuid4AsString ()
 
 fromString (string $uuid)
 

Private Attributes

UuidFactory $uuid_factory
 

Detailed Description

Definition at line 16 of file Factory.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 20 of file Factory.php.

21  {
22  $this->uuid_factory = new UuidFactory();
23  }

Member Function Documentation

◆ fromString()

ILIAS\Data\UUID\Factory::fromString ( string  $uuid)

Definition at line 35 of file Factory.php.

35  : Uuid
36  {
37  return new RamseyUuidWrapper($this->uuid_factory->fromString($uuid));
38  }

◆ uuid4()

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

Definition at line 25 of file Factory.php.

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

25  : Uuid
26  {
27  return new RamseyUuidWrapper($this->uuid_factory->uuid4());
28  }
+ Here is the caller graph for this function:

◆ uuid4AsString()

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

Definition at line 30 of file Factory.php.

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

30  : string
31  {
32  return $this->uuid4()->toString();
33  }
+ Here is the call graph for this function:

Field Documentation

◆ $uuid_factory

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

Definition at line 18 of file Factory.php.


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