Pinq\Iterators\IIteratorScheme::whereInIterator PHP 메소드

whereInIterator() 공개 메소드

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
리턴 Pinq\Iterators\IWrapperIterator
    public function whereInIterator(\Traversable $iterator, \Traversable $otherIterator);

Usage Example

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