php-extended / php-paged-iterator-object
A library that implements the php-extended/php-paged-iterator-interface library
Requires
- php: >=8.1
- php-extended/php-paged-iterator-interface: ^8
Requires (Dev)
- dev-master
- 8.0.4
- 8.0.3
- 8.0.2
- 8.0.1
- 8.0.0
- 7.0.9
- 7.0.8
- 7.0.7
- 7.0.6
- 7.0.5
- 7.0.4
- 7.0.3
- 7.0.2
- 7.0.1
- 7.0.0
- 6.0.7
- 6.0.6
- 6.0.5
- 6.0.4
- 6.0.3
- 6.0.2
- 6.0.1
- 6.0.0
- 5.0.1
- 5.0.0
- 4.0.2
- 4.0.1
- 4.0.0
- 3.0.19
- 3.0.18
- 3.0.17
- 3.0.16
- 3.0.15
- 3.0.14
- 3.0.13
- 3.0.12
- 3.0.11
- 3.0.10
- 3.0.9
- 3.0.8
- 3.0.7
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
This package is auto-updated.
Last update: 2025-02-17 17:10:15 UTC
README
A library that implements the php-extended/php-paged-iterator-interface library.
Installation
The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.
- Download
composer.phar
from their website. - Then run the following command to install this library as dependency :
php composer.phar php-extended/php-paged-iterator-object ^8
Basic Usage
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 PagedDataProviderInterface
to get back the data under the form of PagedIterator
s and takes care of
the loops to transform an iterator of PagedIterators into an iterator of the
inner objects itself.
License
MIT (See license file).