ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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 32 of file Factory.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 36 of file Factory.php.

37  {
38  $this->uuid_factory = new UuidFactory();
39  }

Member Function Documentation

◆ fromString()

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

Definition at line 51 of file Factory.php.

51  : Uuid
52  {
53  return new RamseyUuidWrapper($this->uuid_factory->fromString($uuid));
54  }

◆ uuid4()

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

Definition at line 41 of file Factory.php.

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

41  : Uuid
42  {
43  return new RamseyUuidWrapper($this->uuid_factory->uuid4());
44  }
+ Here is the caller graph for this function:

◆ uuid4AsString()

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

Definition at line 46 of file Factory.php.

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

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

Field Documentation

◆ $uuid_factory

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

Definition at line 34 of file Factory.php.


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