Files
iTop/sources/Forms/IO/Format/NumberIOFormat.php
2025-11-24 16:56:20 +01:00

24 lines
356 B
PHP

<?php
namespace Combodo\iTop\Forms\IO\Format;
class NumberIOFormat extends AbstractIOFormat
{
public mixed $oValue;
public function __construct(string $oValue)
{
$this->oValue = $oValue;
}
public function __toString(): string
{
return strval($this->oValue);
}
public function jsonSerialize(): mixed
{
return strval($this->oValue);
}
}