Total Complexity | 6 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
12 | class PageSubscriber extends AbstractSubscriber |
||
13 | { |
||
14 | public static function getSubscribedEvents(): array |
||
15 | { |
||
16 | return [ |
||
17 | KernelEvents::VIEW => [ |
||
18 | ['provideDefaultLayout', EventPriorities::PRE_SERIALIZE] |
||
19 | ] |
||
20 | ]; |
||
21 | } |
||
22 | |||
23 | public static function getSubscribedServices(): array |
||
27 | ]; |
||
28 | } |
||
29 | |||
30 | public function provideDefaultLayout(GetResponseForControllerResultEvent $event): void |
||
44 |