__construct()
__construct(callable $worker)
Creates a new pages object with the given page fetcher.
This is mainly intended for internal use.
Parameters
callable | $worker | a page fetcher |
A paged result.
It is possible to, e.g., fetch individual pages or iterate over all pages.
get(integer $page) : \Clx\Xms\Api\Page
Downloads a specific page.
integer | $page | number of the page to fetch |
a page