1 | <?php |
||
10 | class DocumentNode extends BaseNode |
||
11 | { |
||
12 | /** |
||
13 | * @var bool |
||
14 | */ |
||
15 | private $preCalculateFormulas; |
||
16 | /** |
||
17 | * @var null|string |
||
18 | */ |
||
19 | private $diskCachingDirectory; |
||
20 | |||
21 | /** |
||
22 | * DocumentNode constructor. |
||
23 | * |
||
24 | * @param array $nodes |
||
25 | * @param array $attributes |
||
26 | * @param int $lineno |
||
27 | * @param string|null $tag |
||
28 | */ |
||
29 | public function __construct(array $nodes = [], array $attributes = [], int $lineno = 0, string $tag = null) |
||
38 | |||
39 | /** |
||
40 | * @param \Twig_Compiler $compiler |
||
41 | */ |
||
42 | public function compile(\Twig_Compiler $compiler) |
||
60 | |||
61 | /** |
||
62 | * @return string[] |
||
63 | */ |
||
64 | public function getAllowedParents(): array |
||
68 | } |
||
69 |