Files
iTop/sources/Forms/Block/IO/Format/AttributeIOFormat.php
2025-10-28 15:22:29 +01:00

23 lines
396 B
PHP

<?php
namespace Combodo\iTop\Forms\Block\IO\Format;
use JsonSerializable;
class AttributeIOFormat implements JsonSerializable
{
public function __construct(public string $sAttributeName)
{
// validation du format sinon exception
}
public function __toString(): string
{
return $this->sAttributeName;
}
public function jsonSerialize(): mixed
{
return $this->sAttributeName;
}
}