Total Complexity | 5 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class TotalItemsHandler extends AbstractHandler |
||
13 | { |
||
14 | use HandlesTotalPages; |
||
|
|||
15 | |||
16 | /** |
||
17 | * Determine whether the handler can handle the APIs configuration |
||
18 | * |
||
19 | * @return bool |
||
20 | */ |
||
21 | 12 | public function matches(): bool |
|
26 | } |
||
27 | |||
28 | /** |
||
29 | * Handle the APIs configuration |
||
30 | * |
||
31 | * @return Traversable |
||
32 | */ |
||
33 | 3 | public function handle(): Traversable |
|
41 |