PHP Interface Pinq\Iterators\IJoinIterator

Author: Elliot Levin ([email protected])
Inheritance: extends Pinq\Iterators\IJoinToIterator
Exibir arquivo Open project: timetoogo/pinq Interface Usage Examples

Public Methods

Method Description
filterOn ( callable $function ) : Pinq\Iterators\IJoinToIterator Returns a new join iterator with the inner elements filtered according to the supplied predicate function.
filterOnEquality ( callable $outerKeyFunction, callable $innerKeyFunction ) : Pinq\Iterators\IJoinToIterator Returns a new join iterator with the inner elements filtered according to strict equality between the outer and inner key function.

Method Details

filterOn() public method

Returns a new join iterator with the inner elements filtered according to the supplied predicate function.
public filterOn ( callable $function ) : Pinq\Iterators\IJoinToIterator
$function callable Called with the parameters ($outerValue, $innerValue, $outerKey, $innerKey)
return Pinq\Iterators\IJoinToIterator

filterOnEquality() public method

Returns a new join iterator with the inner elements filtered according to strict equality between the outer and inner key function.
public filterOnEquality ( callable $outerKeyFunction, callable $innerKeyFunction ) : Pinq\Iterators\IJoinToIterator
$outerKeyFunction callable Called with the parameters ($outerValue, $outerKey)
$innerKeyFunction callable Called with the parameters ($innerValue, $innerKey)
return Pinq\Iterators\IJoinToIterator