Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
23 | class ArrayPaginatorAdapter implements PaginationAdapterInterface |
||
24 | { |
||
25 | /** |
||
26 | * Maps the params to the repository |
||
27 | * |
||
28 | * @param \Phauthentic\Pagination\PaginationParamsInterface $paginationParams Pagination params |
||
29 | * @param mixed $repository |
||
30 | * @return mixed |
||
31 | */ |
||
32 | public function paginate(PaginationParamsInterface $paginationParams, $array) |
||
56 |