Documentation

Application

Table of Contents

Classes

FilterIterator
An iterator that filters elements based upon a supplied predicate function.
Iterator
An extension of the Standard PHP Library's Iterator class, with additional methods to make working with Iterators more expressive.
MapIterator
An iterator that applies a user function to each of its elements.
TakeIterator
An iterator that contains a subset of the elements in another iterator.

Functions

iter()  : Iterator
Factory function for creating Iterators.

Functions

iter()

Factory function for creating Iterators.

iter( $iterator) : Iterator
Parameters
$iterator :

An iterable to create the iterator from.

Return values
Iterator

The newly constructed iterator.


        
On this page

Search results