Pinq\Iterators\IIteratorScheme::whereInIterator PHP Method

whereInIterator() public method

Returns an iterator which will return all values in the first iterator present in the second.
public whereInIterator ( Traversable $iterator, Traversable $otherIterator ) : Pinq\Iterators\IWrapperIterator
$iterator Traversable
$otherIterator Traversable
return Pinq\Iterators\IWrapperIterator
    public function whereInIterator(\Traversable $iterator, \Traversable $otherIterator);

Usage Example

Example #1
0
 public function whereIn($values)
 {
     return $this->constructScopedSelf($this->scheme->whereInIterator($this->elements, $this->scheme->toIterator($values)));
 }