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