Files
iTop/sources/Forms/IO/Format/StringIOFormat.php
Eric Espie 039beb4c07 🎨 PHP CS Fixer
2025-11-24 17:36:57 +01:00

32 lines
493 B
PHP

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