src/ArtaxServiceBuilder/Service/GithubPaginator.php
public function getPages($startPage, $endPage, $urlStub) {
        $pages = [];
        //TODO yield this array - after upgrading to php 5.5
        for($x=$startPage ; $x<=$endPage ; $x++) {
            $pages[] = $urlStub.$x;
        }

        return $pages;
    }
public function getPages($startPage, $endPage, $urlStub) {
        $pages = [];
        //TODO yield this array - after upgrading to php 5.5
        for($x=$startPage ; $x<=$endPage ; $x++) {
            $pages[] = $urlStub.$x;
        }

        return $pages;
    }
Generates an array of the URIs for a set of pages.
@param $startPage
@param $endPage
@param $urlStub
@return array