Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | final class RenderHeaderTemplateAction |
||
19 | { |
||
20 | private WishlistContextInterface $wishlistContext; |
||
21 | |||
22 | private Environment $twigEnvironment; |
||
23 | |||
24 | public function __construct(WishlistContextInterface $wishlistContext, Environment $twigEnvironment) |
||
25 | { |
||
26 | $this->wishlistContext = $wishlistContext; |
||
27 | $this->twigEnvironment = $twigEnvironment; |
||
28 | } |
||
29 | |||
30 | public function __invoke(Request $request): Response |
||
37 | ]) |
||
38 | ); |
||
41 |