Total Complexity | 2 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
8 | class FormFieldNode extends \Twig_Node |
||
|
|||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | private $form; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $field; |
||
19 | |||
20 | /** |
||
21 | * @param string $form Name of the template var holding the form this field |
||
22 | * belongs to. |
||
23 | * @param string $field Name of the field to render. |
||
24 | * @param int $lineNumber Line number in the template source file. |
||
25 | * @param string $tag |
||
26 | */ |
||
27 | public function __construct(string $form, string $field, int $lineNumber, string $tag) |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param \Twig_Compiler $compiler |
||
36 | */ |
||
37 | public function compile(\Twig_Compiler $compiler): void |
||
48 |