N°8772 - Form dependencies manager implementation

- Form SDK implementation
- Basic Forms
- Dynamics Forms
- Basic Blocks + Data Model Block
- Form Compilation
- Turbo integration
This commit is contained in:
Benjamin Dalsass
2025-12-30 11:42:55 +01:00
committed by GitHub
parent 3955b4eb22
commit 4c1ad0f4f2
813 changed files with 115243 additions and 489 deletions

View File

@@ -11,6 +11,7 @@ use Exception;
use ReflectionClass;
use ReflectionException;
use ReflectionMethod;
use Twig\Attribute\YieldReady;
use Twig\Compiler;
use Twig\Error\SyntaxError;
use Twig\Node\Node;
@@ -23,6 +24,7 @@ use utils;
* @author Eric Espie <eric.espie@combodo.com>
* @since 3.0.0
*/
#[YieldReady]
class UIBlockNode extends Node
{
/** @var string */
@@ -33,10 +35,10 @@ class UIBlockNode extends Node
/**
* @inheritDoc
*/
public function __construct(string $sFactoryClass, string $sBlockClass, string $sType, $oParams, $oBody, int $iLineNo = 0, ?string $sTag = null)
public function __construct(string $sFactoryClass, string $sBlockClass, string $sType, $oParams, $oBody, int $iLineNo = 0)
{
$aNodes = is_null($oBody) ? [] : ['body' => $oBody];
parent::__construct($aNodes, ['type' => $sType, 'params' => $oParams], $iLineNo, $sTag);
parent::__construct($aNodes, ['type' => $sType, 'params' => $oParams], $iLineNo);
$this->sFactoryClass = $sFactoryClass;
$this->sBlockClass = $sBlockClass;
}