Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class SubTheme implements RenderableInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var RenderableInterface |
||
17 | */ |
||
18 | private $theme; |
||
19 | /** |
||
20 | * @var mixed[] |
||
21 | */ |
||
22 | private $additionalContext; |
||
23 | |||
24 | /** |
||
25 | * @param RenderableInterface $theme |
||
26 | * @param mixed[] $additionalContext |
||
27 | */ |
||
28 | public function __construct(RenderableInterface $theme, array $additionalContext) |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Renders (as a stream) the data passed in parameter. |
||
36 | * |
||
37 | * @param mixed[] $context |
||
38 | * @return StreamInterface |
||
39 | */ |
||
40 | public function render(array $context): StreamInterface |
||
45 |