Download the PHP package gacek85/collection-iterator without Composer
On this page you can find all versions of the php package gacek85/collection-iterator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gacek85/collection-iterator
More information about gacek85/collection-iterator
Files in gacek85/collection-iterator
Package collection-iterator
Short Description Helps iterating big sets of data
License
Informations about the package collection-iterator
Collection Iterator
An implementation of SPL's
Iterator
for traversing large collections of data minimising the risk of memory limit exhaustion. Consists of an iterator service class Gacek85\Collection\CollectionIterator
and an interface Gacek85\Collection\IterableDataProvider
for a provider that will be providing chunks of data to the iterator service.
How it works
The iterator loads the data using the provider chunk by chunk, previously loaded data are wiped out of the memory by the garbage collector.
Public API
CollectionIterator
Other public methods are Iterator
specific API.