ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Uuid.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Data\UUID;
22
29interface Uuid
30{
44 public function compareTo(Uuid $other): int;
45
56 public function equals(Uuid $other): bool;
57
61 public function toString(): string;
62
66 public function __toString(): string;
67}
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.