We have detected an error in your notification set-up
(Event-ID dab39dc24f564ec7bd4628d1305fd03c).
Currently, we cannot inform you about inspection progress.
Please check that the user
557058:bca11929-8c2d-43f2-8a82-c5416880d395 still has access to your repository or
update the API account.
| 1 | <?php |
||
| 19 | class Pager implements PagerInterface |
||
| 20 | { |
||
| 21 | /** @var ClientInterface */ |
||
| 22 | private $httpClient; |
||
| 23 | |||
| 24 | /** @var MessageInterface */ |
||
| 25 | private $response; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param ClientInterface $httpClient |
||
| 29 | * @param MessageInterface $response |
||
| 30 | * |
||
| 31 | * @throws \UnexpectedValueException |
||
| 32 | */ |
||
| 33 | 10 | public function __construct(ClientInterface $httpClient, MessageInterface $response) |
|
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritDoc} |
||
| 46 | */ |
||
| 47 | 3 | public function hasNext() |
|
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritDoc} |
||
| 54 | */ |
||
| 55 | 2 | public function hasPrevious() |
|
| 59 | |||
| 60 | /** |
||
| 61 | * {@inheritDoc} |
||
| 62 | */ |
||
| 63 | 3 | public function fetchNext() |
|
| 72 | |||
| 73 | /** |
||
| 74 | * {@inheritDoc} |
||
| 75 | */ |
||
| 76 | 2 | public function fetchPrevious() |
|
| 85 | |||
| 86 | /** |
||
| 87 | * {@inheritDoc} |
||
| 88 | */ |
||
| 89 | 3 | public function fetchAll() |
|
| 115 | |||
| 116 | /** |
||
| 117 | * {@inheritDoc} |
||
| 118 | */ |
||
| 119 | 1 | public function getCurrent() |
|
| 123 | |||
| 124 | /** |
||
| 125 | * @access private |
||
| 126 | * @return array |
||
| 127 | */ |
||
| 128 | 7 | private function getContent() |
|
| 138 | } |
||
| 139 |