ILIAS  release_8 Revision v8.24
Uuid.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
5namespace ILIAS\Data\UUID;
6
13interface 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}
toString()
Converts this UUID into a string representation.
equals(Uuid $other)
Compares this object to the specified object.
__toString()
Enforce that UUID implementation implement the __toString() magic method.
compareTo(Uuid $other)
Compares this UUID to the specified UUID.