Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class BlockRenderer implements BlockRendererInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var ThemeFactoryInterface |
||
12 | */ |
||
13 | private $themeFactory; |
||
14 | |||
15 | public function __construct(ThemeFactoryInterface $themeFactory) |
||
18 | } |
||
19 | |||
20 | |||
21 | /** |
||
22 | * Renders a block. |
||
23 | * |
||
24 | * @param BlockInterface $page |
||
25 | * @param mixed[] $additionalContext |
||
26 | * @return StreamInterface |
||
27 | */ |
||
28 | public function renderBlock(BlockInterface $page, array $additionalContext = []): StreamInterface |
||
37 |