/** * @param EquatableInterface $other * * @return bool */ public function equals(EquatableInterface $other) { return $other instanceof AbstractId && $this->value->equals($other->getUuid()); }