Conditions | 2 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
49 | private function closure(RequestInterface $request) |
||
50 | { |
||
51 | $exceptionHandler = $this->exceptionHandler; |
||
52 | |||
53 | return function (ResponseInterface $response) use ($request, $exceptionHandler) { |
||
54 | try { |
||
55 | $this->responseTimeLogger->stop($request, $response); |
||
56 | } catch (Exception $e) { |
||
57 | $exceptionHandler->handle($e); |
||
58 | } |
||
62 |