Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
52 | protected function before( |
||
53 | RequestInterface $request, |
||
54 | ResponseInterface $response |
||
55 | )/* : ResponseInterface */ { |
||
56 | $this->dispatcher->dispatch( |
||
57 | $request->getMethod(), |
||
58 | $request->getUri()->getPath(), |
||
59 | ['request' => $request, 'response' => $response] |
||
60 | ); |
||
61 | |||
62 | // response in the result |
||
63 | return $this->dispatcher->getResult()->getParameters()['response']; |
||
64 | } |
||
65 | } |
||
66 |