| 1 | <?php |
||
| 11 | final class PagePager extends Pager |
||
| 12 | { |
||
| 13 | private $page; |
||
| 14 | |||
| 15 | 5 | public function __construct(Page $page) |
|
| 19 | |||
| 20 | /** |
||
| 21 | * {@inheritdoc} |
||
| 22 | */ |
||
| 23 | 5 | public function getCurrentPage() |
|
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | 4 | public function getLimit() |
|
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | 5 | public function count() |
|
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | 5 | public function totalCount() |
|
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritdoc} |
||
| 54 | */ |
||
| 55 | 5 | public function getResults() |
|
| 59 | } |
||
| 60 |