Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class ContentViewInjection implements ContentParametersInjectionInterface |
||
13 | { |
||
14 | private UrlMatcherInterface $urlMatcher; |
||
15 | private UrlGeneratorInterface $url; |
||
16 | private Field $field; |
||
17 | |||
18 | public function __construct( |
||
19 | UrlMatcherInterface $urlMatcher, |
||
20 | UrlGeneratorInterface $url, |
||
21 | Field $field |
||
22 | ) { |
||
23 | $this->urlMatcher = $urlMatcher; |
||
24 | $this->url = $url; |
||
25 | $this->field = $field; |
||
26 | } |
||
27 | |||
28 | public function getContentParameters(): array |
||
34 | ]; |
||
35 | } |
||
37 |