N°8772 - wip

This commit is contained in:
Eric Espie
2025-11-13 15:02:09 +01:00
parent c2ec3a9f02
commit 36d49d3550
6 changed files with 36 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
<?php
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
namespace Combodo\iTop\Forms\Block\IO\Format;
use JsonSerializable;
class StringIOFormat implements JsonSerializable
{
public string $sValue;
public function __construct(string $sValue)
{
$this->sValue = $sValue;
}
public function __toString(): string
{
return $this->sValue;
}
public function jsonSerialize(): mixed
{
return $this->sValue;
}
}