PHP Class Pinq\Iterators\Generators\JoinIterator

Author: Elliot Levin ([email protected])
Inheritance: extends IteratorGenerator, implements Pinq\Iterators\IJoinToIterator, use trait Pinq\Iterators\Common\JoinIterator
Show file Open project: timetoogo/pinq Class Usage Examples

Protected Properties

Property Type Description
$innerIterator Pinq\Iterators\Generators\IGenerator
$outerIterator Pinq\Iterators\Generators\IGenerator

Public Methods

Method Description
__construct ( Pinq\Iterators\Generators\IGenerator $outerIterator, Pinq\Iterators\Generators\IGenerator $innerIterator )
walk ( callable $function )

Protected Methods

Method Description
beforeOuterLoopData ( )
defaultIterator ( Pinq\Iterators\Generators\IGenerator $iterator )
innerForeach ( $outerKey, $outerValue, array $data, &$count )
innerGenerator ( mixed $outerKey, mixed $outerValue, array $outerData ) : Pinq\Iterators\Generators\IGenerator
iteratorGenerator ( Pinq\Iterators\Generators\IGenerator $iterator )

Method Details

__construct() public method

public __construct ( Pinq\Iterators\Generators\IGenerator $outerIterator, Pinq\Iterators\Generators\IGenerator $innerIterator )
$outerIterator Pinq\Iterators\Generators\IGenerator
$innerIterator Pinq\Iterators\Generators\IGenerator

beforeOuterLoopData() protected method

protected beforeOuterLoopData ( )

defaultIterator() final protected method

final protected defaultIterator ( Pinq\Iterators\Generators\IGenerator $iterator )
$iterator Pinq\Iterators\Generators\IGenerator

innerForeach() protected method

protected innerForeach ( $outerKey, $outerValue, array $data, &$count )
$data array

innerGenerator() abstract protected method

abstract protected innerGenerator ( mixed $outerKey, mixed $outerValue, array $outerData ) : Pinq\Iterators\Generators\IGenerator
$outerKey mixed
$outerValue mixed
$outerData array
return Pinq\Iterators\Generators\IGenerator

iteratorGenerator() final protected method

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

walk() public method

public walk ( callable $function )
$function callable

Property Details

$innerIterator protected property

protected IGenerator,Pinq\Iterators\Generators $innerIterator
return Pinq\Iterators\Generators\IGenerator

$outerIterator protected property

protected IGenerator,Pinq\Iterators\Generators $outerIterator
return Pinq\Iterators\Generators\IGenerator