PHP Class Pinq\Iterators\Generators\GroupedIterator

Author: Elliot Levin ([email protected])
Inheritance: extends LazyGenerator, use trait Pinq\Iterators\Common\GroupedIterator
显示文件 Open project: timetoogo/pinq

Public Methods

Method Description
__construct ( Pinq\Iterators\Generators\IGenerator $iterator, callable $groupByFunction, callable $traversableFactory )

Protected Methods

Method Description
initializeGenerator ( Pinq\Iterators\Generators\IGenerator $innerIterator )

Method Details

__construct() public method

public __construct ( Pinq\Iterators\Generators\IGenerator $iterator, callable $groupByFunction, callable $traversableFactory )
$iterator Pinq\Iterators\Generators\IGenerator
$groupByFunction callable
$traversableFactory callable

initializeGenerator() protected method

protected initializeGenerator ( Pinq\Iterators\Generators\IGenerator $innerIterator )
$innerIterator Pinq\Iterators\Generators\IGenerator