1 | <?php |
||
21 | class ActiveThemeListener |
||
22 | { |
||
23 | /** |
||
24 | * @var ThemeRepositoryInterface |
||
25 | */ |
||
26 | private $themeRepository; |
||
27 | |||
28 | /** |
||
29 | * @var ThemeContextInterface |
||
30 | */ |
||
31 | private $themeContext; |
||
32 | |||
33 | /** |
||
34 | * @param ThemeRepositoryInterface $themeRepository |
||
35 | * @param ThemeContextInterface $themeContext |
||
36 | */ |
||
37 | public function __construct(ThemeRepositoryInterface $themeRepository, ThemeContextInterface $themeContext) |
||
42 | |||
43 | /** |
||
44 | * @param GetResponseEvent $event |
||
45 | */ |
||
46 | public function onKernelRequest(GetResponseEvent $event) |
||
58 | } |
||
59 |