You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the first pass at adding a paginator class for github API requests.
It only works with fetchAll() at the moment, to demonstrate the usage.
Currently:
$paginator = new \Github\ResultPaginator( \Github\Client [client] );
$paginator->fetchAll( [api], [method], [parameters] );
Todo's include:
Paginator is not complete for all possible headers Next, Last, Previous, First
apiClient should be able to return a paginator (i.e. $client->getPaginator() )
CacheHttpClient does not work (does not return Link headers)
0 commit comments