/** * @param UuidInterface $other * @return int -1, 0 or 1 */ public function compareTo(UuidInterface $other) { $ramseyOther = RamseyUuid::fromBytes($other->getBytes()); return $this->ramseyUuid->compareTo($ramseyOther); }
/** * @param UuidInterface $other * @return int -1, 0 or 1 */ public function compareTo(UuidInterface $other) { $ramseyOther = RamseyUuid::fromBytes($other->getBytes()); return $this->ramseyUuid->compareTo($ramseyOther); }