Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class Layout extends Template |
||
8 | { |
||
9 | /** |
||
10 | * @psalm-param non-empty-string $path |
||
11 | */ |
||
12 | 8 | public function __construct( |
|
19 | } |
||
20 | |||
21 | /** |
||
22 | * Used in the layout template to get the content of the wrapped template. |
||
23 | */ |
||
24 | 6 | public function body(): string |
|
27 | } |
||
28 | |||
29 | 8 | protected function templateContext(array $context, array $whitelist, bool $autoescape): LayoutContext |
|
34 |