mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 15:34:12 +01:00
29 lines
428 B
PHP
29 lines
428 B
PHP
<?php
|
|
|
|
namespace Combodo\iTop\Forms\IO\Format;
|
|
|
|
class RawFormat extends AbstractIOFormat
|
|
{
|
|
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;
|
|
}
|
|
|
|
public static function IsCompatible(string $sOtherFormatClass): bool
|
|
{
|
|
return true;
|
|
}
|
|
}
|