public projectionIterator ( Traversable $iterator, callable $keyProjectionFunction = null, callable $valueProjectionFunction = null ) : Pinq\Iterators\IWrapperIterator | ||
$iterator | Traversable | |
$keyProjectionFunction | callable | |
$valueProjectionFunction | callable | |
return | Pinq\Iterators\IWrapperIterator |
public function projectionIterator(\Traversable $iterator, callable $keyProjectionFunction = null, callable $valueProjectionFunction = null);
private function mapIterator(callable $function = null) { if ($function === null) { return $this->elements; } else { return $this->scheme->projectionIterator($this->elements, null, $function); } }