1 | <?php |
||
10 | class PagerIterator extends CallbackIterator |
||
11 | { |
||
12 | /** |
||
13 | * @var int |
||
14 | */ |
||
15 | protected $currentPage; |
||
16 | |||
17 | /** |
||
18 | * @param callable $currentPage |
||
19 | * @param callable $nextPage |
||
20 | * @param callable $currentPageKey |
||
21 | * @param callable $totalPages |
||
22 | * @param callable $setCurrentPage |
||
23 | */ |
||
24 | 1 | public function __construct( |
|
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | 1 | public function next() |
|
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | 1 | public function valid() |
|
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | 1 | public function rewind() |
|
69 | } |
||
70 |