Pinq\Iterators\IIteratorScheme::appendIterator PHP Method

appendIterator() public method

Returns an iterator which will return all values from both the supplied iterators.
public appendIterator ( Traversable $iterator, Traversable $otherIterator ) : Pinq\Iterators\IWrapperIterator
$iterator Traversable
$otherIterator Traversable
return Pinq\Iterators\IWrapperIterator
    public function appendIterator(\Traversable $iterator, \Traversable $otherIterator);

Usage Example

Beispiel #1
0
 public function append($values)
 {
     return $this->constructScopedSelf($this->scheme->appendIterator($this->elements, $this->scheme->toIterator($values)));
 }