| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | protected function setParams($request, $response, $args) |
||
| 24 | { |
||
| 25 | $this->request = $request; |
||
| 26 | $this->response = $response; |
||
| 27 | $this->args = $args; |
||
| 28 | $info = [ |
||
| 29 | 'method' => $this->request->getAttribute('route')->getMethods(), |
||
| 30 | 'path' => $this->request->getUri()->getPath(), |
||
| 31 | 'input' => $this->request->getParsedBody(), |
||
| 32 | 'args' => $this->args, |
||
| 33 | ]; |
||
| 34 | $this->logger->info(json_encode($info)); |
||
| 35 | } |
||
| 36 | |||
| 56 |