__toString()); } public static function fromString(string $value): self { return new self($value); } public function toString(): string { return $this->value; } public function equals(self $other): bool { return $this->value === $other->value; } public function __toString(): string { return $this->value; } }