PHP Class Pinq\Connectors\JoiningTraversable

Author: Elliot Levin ([email protected])
Inheritance: implements Pinq\Interfaces\IJoiningOnTraversable
Exibir arquivo Open project: timetoogo/pinq Class Usage Examples

Protected Properties

Property Type Description
$joinIterator Pinq\Iterators\IJoinIterator | Pinq\Iterators\IJoinToIterator
$scheme Pinq\Iterators\IIteratorScheme
$traversableFactory callable

Public Methods

Method Description
__construct ( Pinq\Iterators\IIteratorScheme $scheme, Pinq\Iterators\IJoinIterator $joinIterator, callable $traversableFactory )
on ( callable $joiningOnFunction )
onEquality ( callable $outerKeyFunction, callable $innerKeyFunction )
to ( callable $joinFunction )
withDefault ( $value, $key = null )

Method Details

__construct() public method

public __construct ( Pinq\Iterators\IIteratorScheme $scheme, Pinq\Iterators\IJoinIterator $joinIterator, callable $traversableFactory )
$scheme Pinq\Iterators\IIteratorScheme
$joinIterator Pinq\Iterators\IJoinIterator
$traversableFactory callable

on() public method

public on ( callable $joiningOnFunction )
$joiningOnFunction callable

onEquality() public method

public onEquality ( callable $outerKeyFunction, callable $innerKeyFunction )
$outerKeyFunction callable
$innerKeyFunction callable

to() public method

public to ( callable $joinFunction )
$joinFunction callable

withDefault() public method

public withDefault ( $value, $key = null )

Property Details

$joinIterator protected_oe property

protected IJoinIterator,Pinq\Iterators|IJoinToIterator,Pinq\Iterators $joinIterator
return Pinq\Iterators\IJoinIterator | Pinq\Iterators\IJoinToIterator

$scheme protected_oe property

protected IIteratorScheme,Pinq\Iterators $scheme
return Pinq\Iterators\IIteratorScheme

$traversableFactory protected_oe property

protected callable $traversableFactory
return callable