| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 38 | public function handleRequest(AdminEvent $event, Request $request): ?Response |
||
| 39 | { |
||
| 40 | $response = parent::handleRequest($event, $request); |
||
| 41 | if ($response) { |
||
| 42 | return $response; |
||
| 43 | } |
||
| 44 | |||
| 45 | $this->eventDispatcher->dispatch(FormEvents::FORM_RESPONSE_PRE_RENDER, $event); |
||
| 46 | if ($event->hasResponse()) { |
||
| 47 | return $event->getResponse(); |
||
| 48 | } |
||
| 49 | |||
| 50 | return null; |
||
| 51 | } |
||
| 53 |