PHP Class Pinq\Iterators\Generators\ProjectionIterator

Author: Elliot Levin ([email protected])
Inheritance: extends IteratorGenerator, use trait Pinq\Iterators\Common\ProjectionIterator
Mostra file Open project: timetoogo/pinq

Public Methods

Method Description
__construct ( Pinq\Iterators\Generators\IGenerator $iterator, callable $keyProjectionFunction = null, callable $valueProjectionFunction = null )

Protected Methods

Method Description
iteratorGenerator ( Pinq\Iterators\Generators\IGenerator $iterator )

Method Details

__construct() public method

public __construct ( Pinq\Iterators\Generators\IGenerator $iterator, callable $keyProjectionFunction = null, callable $valueProjectionFunction = null )
$iterator Pinq\Iterators\Generators\IGenerator
$keyProjectionFunction callable
$valueProjectionFunction callable

iteratorGenerator() protected method

protected iteratorGenerator ( Pinq\Iterators\Generators\IGenerator $iterator )
$iterator Pinq\Iterators\Generators\IGenerator