| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | public function handle(ServerRequestInterface $request): ResponseInterface |
||
| 30 | { |
||
| 31 | $this->dispatcher->dispatch(new BeforeMiddleware($this->middleware, $request)); |
||
| 32 | |||
| 33 | try { |
||
| 34 | return $response = $this->middleware->process($request, $this->handler); |
||
| 35 | } finally { |
||
| 36 | $this->dispatcher->dispatch(new AfterMiddleware($this->middleware, $response)); |
||
| 37 | } |
||
| 40 |