PHP Interface Pinq\Iterators\IJoinIterator

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

Méthodes publiques

Méthode 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 méthode

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)
Résultat Pinq\Iterators\IJoinToIterator

filterOnEquality() public méthode

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)
Résultat Pinq\Iterators\IJoinToIterator