PHP Class Pinq\Iterators\Generators\OrderedIterator

Author: Elliot Levin ([email protected])
Inheritance: extends LazyGenerator, implements Pinq\Iterators\IOrderedIterator, use trait Pinq\Iterators\Common\OrderedIterator
Show file Open project: timetoogo/pinq

Public Methods

Method Description
__construct ( Pinq\Iterators\Generators\IGenerator $iterator, callable $orderByFunction, $isAscending )

Protected Methods

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

Method Details

__construct() public method

public __construct ( Pinq\Iterators\Generators\IGenerator $iterator, callable $orderByFunction, $isAscending )
$iterator Pinq\Iterators\Generators\IGenerator
$orderByFunction callable

initializeGenerator() protected method

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