Total Complexity | 2 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
14 | final class Index |
||
15 | { |
||
16 | private ResponseFactory $responseFactory; |
||
17 | |||
18 | private Filtering $filtering; |
||
19 | |||
20 | 7 | public function __construct(ResponseFactory $responseFactory, Filtering $filtering) |
|
21 | { |
||
22 | 7 | $this->responseFactory = $responseFactory; |
|
23 | 7 | $this->filtering = $filtering; |
|
24 | 7 | } |
|
25 | |||
26 | 7 | public function __invoke(IndexRequest $request): JsonResponse |
|
47 | } |
||
48 | } |
||
50 |