PHP Интерфейс Pinq\Interfaces\IJoiningOnTraversable

Автор: Elliot Levin ([email protected])
Наследование: extends Pinq\Interfaces\IJoiningToTraversable
Показать файл Открыть проект

Открытые методы

Метод Описание
on ( callable $function ) : Pinq\Interfaces\IJoiningToTraversable Filters the join values according to the supplied function.
onEquality ( callable $outerKeyFunction, callable $innerKeyFunction ) : Pinq\Interfaces\IJoiningToTraversable Filters the join values via strict equality (===) between the outer and inner keys according to the supplied key functions. Note that null keys are ignored.

Описание методов

on() публичный Метод

Both values and keys will be passed as arguments to the supplied function as (outerValue, innerValue, outerKey, innerKey).
public on ( callable $function ) : Pinq\Interfaces\IJoiningToTraversable
$function callable
Результат Pinq\Interfaces\IJoiningToTraversable

onEquality() публичный Метод

Filters the join values via strict equality (===) between the outer and inner keys according to the supplied key functions. Note that null keys are ignored.
public onEquality ( callable $outerKeyFunction, callable $innerKeyFunction ) : Pinq\Interfaces\IJoiningToTraversable
$outerKeyFunction callable
$innerKeyFunction callable
Результат Pinq\Interfaces\IJoiningToTraversable