value = $value->toString(); } public function __toString(): string { return $this->value; } }