| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class SubTheme implements RenderableInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var RenderableInterface |
||
| 19 | */ |
||
| 20 | private $theme; |
||
| 21 | /** |
||
| 22 | * @var mixed[] |
||
| 23 | */ |
||
| 24 | private $additionalContext; |
||
| 25 | /** |
||
| 26 | * @var ContextMergerInterface |
||
| 27 | */ |
||
| 28 | private $contextMerger; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param RenderableInterface $theme |
||
| 32 | * @param mixed[] $additionalContext |
||
| 33 | */ |
||
| 34 | public function __construct(RenderableInterface $theme, array $additionalContext, ContextMergerInterface $contextMerger = null) |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Renders (as a stream) the data passed in parameter. |
||
| 43 | * |
||
| 44 | * @param mixed[] $context |
||
| 45 | * @return StreamInterface |
||
| 46 | */ |
||
| 47 | public function render(array $context): StreamInterface |
||
| 52 |