Total Complexity | 5 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | trait TDisplayPages |
||
15 | { |
||
16 | use TPositions; |
||
17 | |||
18 | protected int $displayPagesCount = IPositions::DEFAULT_DISPLAY_PAGES_COUNT; |
||
19 | |||
20 | /** |
||
21 | * Return array of page numbers, which will be rendered for current pager state. If we want another way to render, just overwrite this method. |
||
22 | * @return int[] |
||
23 | */ |
||
24 | 9 | protected function getDisplayPages(): array |
|
47 |