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