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

Public Member Functions

 __construct (RamseyUuidInterface $wrapped_uuid)
 Uuid constructor. More...
 
 getWrappedUuid ()
 
 compareTo (Uuid $other)
 
 equals (Uuid $other)
 
 toString ()
 

Private Attributes

 $wrapped_uuid
 

Detailed Description

Definition at line 13 of file RamseyUuidWrapper.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Data\UUID\RamseyUuidWrapper::__construct ( RamseyUuidInterface  $wrapped_uuid)

Uuid constructor.

Parameters
RamseyUuidInterface$wrapped_uuid

Definition at line 26 of file RamseyUuidWrapper.php.

References ILIAS\Data\UUID\RamseyUuidWrapper\$wrapped_uuid.

27  {
28  $this->wrapped_uuid = $wrapped_uuid;
29  }

Member Function Documentation

◆ compareTo()

ILIAS\Data\UUID\RamseyUuidWrapper::compareTo ( Uuid  $other)
Parameters
RamseyUuidWrapper$other
Returns
int

Implements ILIAS\Data\UUID\Uuid.

Definition at line 43 of file RamseyUuidWrapper.php.

43  : int
44  {
45  return $this->wrapped_uuid->compareTo($other->getWrappedUuid());
46  }

◆ equals()

ILIAS\Data\UUID\RamseyUuidWrapper::equals ( Uuid  $other)
Parameters
RamseyUuidWrapper$other
Returns
bool

Implements ILIAS\Data\UUID\Uuid.

Definition at line 52 of file RamseyUuidWrapper.php.

52  : bool
53  {
54  return $this->wrapped_uuid->equals($other->getWrappedUuid());
55  }

◆ getWrappedUuid()

ILIAS\Data\UUID\RamseyUuidWrapper::getWrappedUuid ( )
Returns
RamseyUuidInterface

Definition at line 34 of file RamseyUuidWrapper.php.

References ILIAS\Data\UUID\RamseyUuidWrapper\$wrapped_uuid.

34  : RamseyUuidInterface
35  {
36  return $this->wrapped_uuid;
37  }

◆ toString()

ILIAS\Data\UUID\RamseyUuidWrapper::toString ( )
Returns
string

Implements ILIAS\Data\UUID\Uuid.

Definition at line 60 of file RamseyUuidWrapper.php.

60  : string
61  {
62  return $this->wrapped_uuid->toString();
63  }

Field Documentation

◆ $wrapped_uuid

ILIAS\Data\UUID\RamseyUuidWrapper::$wrapped_uuid
private

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