3declare(strict_types=1);
7use Ramsey\Uuid\UuidInterface as RamseyUuidInterface;
31 return $this->wrapped_uuid->compareTo($other->getWrappedUuid());
36 return $this->wrapped_uuid->equals($other->getWrappedUuid());
41 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)