Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class SvgViewInjection implements ContentParametersInjectionInterface, LayoutParametersInjectionInterface |
||
11 | { |
||
12 | private SvgInlineInterface $svg; |
||
13 | |||
14 | public function __construct( |
||
15 | SvgInlineInterface $svg |
||
16 | ) { |
||
17 | $this->svg = $svg; |
||
18 | } |
||
19 | |||
20 | public function getContentParameters(): array |
||
21 | { |
||
22 | return [ |
||
23 | 'svg' => $this->svg, |
||
24 | ]; |
||
25 | } |
||
26 | |||
27 | public function getLayoutParameters(): array |
||
31 | ]; |
||
32 | } |
||
33 | } |
||
34 |