N°8771 - Add Symfony form component to iTop core

- IO debug
This commit is contained in:
Benjamin Dalsass
2025-10-28 15:22:29 +01:00
parent c2fcf4144b
commit 5d335b39d2
36 changed files with 1348 additions and 468 deletions

View File

@@ -0,0 +1,23 @@
<?php
/*
* @copyright Copyright (C) 2010-2025 Combodo SARL
* @license http://opensource.org/licenses/AGPL-3.0
*/
namespace Combodo\iTop\Forms\Block\IO\Converter;
use Combodo\iTop\Forms\Block\IO\Format\AttributeIOFormat;
/**
* String to attribute converter.
*/
class StringToAttributeConverter extends AbstractConverter
{
/** @inheritdoc */
public function Convert(mixed $oData): ?AttributeIOFormat
{
if($oData === null)
return null;
return new AttributeIOFormat($oData);
}
}