| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | public function handle(): Traversable |
||
| 35 | { |
||
| 36 | $originalUri = $this->config->source->request->getUri(); |
||
| 37 | $pages = (int) ceil($this->countItems() / $this->config->perPageOverride); |
||
| 38 | $uri = Uri::withQueryValue($originalUri, $this->config->perPageQuery, $this->config->perPageOverride); |
||
| 39 | |||
| 40 | yield from $this->handleByTotalPages($pages, $uri); |
||
| 41 | } |
||
| 61 |