19declare(strict_types=1);
23use Ramsey\Uuid\UuidInterface as RamseyUuidInterface;
47 return $this->wrapped_uuid->compareTo($other->getWrappedUuid());
52 return $this->wrapped_uuid->equals($other->getWrappedUuid());
57 return $this->wrapped_uuid->toString();
RamseyUuidInterface $wrapped_uuid
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.
__construct(RamseyUuidInterface $wrapped_uuid)