| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | final class OptionalNode extends Node |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param Node $body The body of the suppressed tag. |
||
| 13 | * @param int $lineNumber The line number at which the tag occurs in the template. |
||
| 14 | * @param string $tag The name of the tag. |
||
| 15 | */ |
||
| 16 | 2 | public function __construct(Node $body, int $lineNumber, string $tag) |
|
| 19 | 2 | } |
|
| 20 | |||
| 21 | /** |
||
| 22 | * @param Compiler $compiler |
||
| 23 | * |
||
| 24 | * @return void |
||
| 25 | */ |
||
| 26 | 2 | public function compile(Compiler $compiler) |
|
| 45 |