mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-25 21:34:12 +01:00
24 lines
356 B
PHP
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);
|
|
}
|
|
}
|