ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
Uuid.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 namespace ILIAS\Data\UUID;
6 
13 interface Uuid
14 {
28  public function compareTo(Uuid $other): int;
29 
40  public function equals(Uuid $other): bool;
41 
45  public function toString(): string;
46 
50  public function __toString(): string;
51 }
equals(Uuid $other)
Compares this object to the specified object.
toString()
Converts this UUID into a string representation.
compareTo(Uuid $other)
Compares this UUID to the specified UUID.
__toString()
Enforce that UUID implementation implement the __toString() magic method.