value->toString(); } public function equals(mixed $other): bool { return $other instanceof self && $this->value->equals($other->value); } }