A library that implements the php-extended/php-paged-iterator-interface library
A library that implements the php-extended/php-paged-iterator-interface library.
The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.
composer.pharfrom their website.
- Then run the following command to install this library as dependency :
php composer.phar php-extended/php-paged-iterator-object ^6
This library provides two classes.
The first one is the
PagedIterator that is an iterator that also conveys
data about the pagination.
The second one is the
PaginationIterator, that uses an
to get back the data under the form of
PagedIterators and takes care of
the loops to transform an iterator of PagedIterators into an iterator of the
inner objects itself.
MIT (See license file).