Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ApplicationInjection extends AbstractInjection |
||
11 | { |
||
12 | |||
13 | private User $user; |
||
14 | private UrlMatcherInterface $urlMatcher; |
||
15 | |||
16 | public function __construct( |
||
17 | User $user, |
||
18 | UrlMatcherInterface $urlMatcher |
||
19 | ) { |
||
20 | $this->user = $user; |
||
21 | $this->urlMatcher = $urlMatcher; |
||
22 | } |
||
23 | |||
24 | public function getLayoutParams(): array |
||
30 | ]; |
||
31 | } |
||
32 | |||
33 | public function getMetaTags(): array |
||
34 | { |
||
35 | return [ |
||
36 | [ |
||
37 | '__key' => 'generator', |
||
38 | 'name' => 'generator', |
||
39 | 'value' => 'Yii', |
||
40 | ], |
||
41 | ]; |
||
42 | } |
||
43 | |||
44 | public function getLinkTags(): array |
||
51 | ], |
||
52 | ]; |
||
55 |