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