| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 55 | 1 | public function __invoke( |
|
| 56 | Request $request, |
||
| 57 | Handler $handler, |
||
| 58 | ResponseFactory $responseFactory, |
||
| 59 | ): ResponseInterface { |
||
| 60 | 1 | $command = new Command($request->getPage()); |
|
| 61 | 1 | $paginator = $handler->handle($command); |
|
| 62 | |||
| 63 | 1 | return $responseFactory->create($paginator); |
|
| 64 | } |
||
| 66 |