N°7063 - Forms SDK - Add Symfony forms component

error forms issue
This commit is contained in:
Benjamin Dalsass
2024-01-02 11:31:52 +01:00
parent 2bcc4d9989
commit 75fde4c9a3
15 changed files with 316 additions and 73 deletions

View File

@@ -28,23 +28,34 @@ namespace Combodo\iTop\FormSDK\Service\FactoryAdapter;
interface FormFactoryAdapterInterface
{
/**
* Return data attached to the form.
*
* @return mixed
*/
public function GetFormData() : mixed;
/**
* Return description the form.
*
* @return \Combodo\iTop\FormSDK\Field\FormFieldDescription[]
*/
public function GetFormDescriptions() : array;
/**
* Return form identifier.
* Return adapter identifier.
*
* @return string
*/
public function GetIdentifier() : string;
/**
* Return fields descriptions.
*
* @return \Combodo\iTop\FormSDK\Field\FormFieldDescription[]
*/
public function GetFieldsDescriptions() : array;
/**
* Return fields data.
*
* @return mixed
*/
public function GetFieldsData() : mixed;
/**
* Update fields data.
*
* @param array $aFormData
*
* @return bool
*/
public function UpdateFieldsData(array $aFormData) : bool;
}