Total Complexity | 4 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
7 | trait PaginatorTrait |
||
8 | { |
||
9 | protected Paginator $paginator; |
||
10 | |||
11 | /** |
||
12 | * @required |
||
13 | * |
||
14 | * @param Paginator $paginator |
||
15 | */ |
||
16 | public function setPaginator(Paginator $paginator): void |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @return string[] |
||
27 | */ |
||
28 | protected function getSortableFields(): array |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @return string[] |
||
35 | */ |
||
36 | protected function getFilterableFields(): array |
||
37 | { |
||
38 | return []; |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @return array<string,string> |
||
43 | */ |
||
44 | protected function getFieldsAssociations(): array |
||
47 | } |
||
48 | } |
||
49 |