Ejemplo n.º 1
0
 /**
  * Returns all elements except the ones of the given sequence.
  *
  * @param array|\Iterator $second
  * @return  Linq   Returns all items of this not occuring in $second
  */
 public function except($second)
 {
     LinqHelper::assertArgumentIsIterable($second, "second");
     return new Linq(new ExceptIterator($this->iterator, LinqHelper::getIteratorOrThrow($second)));
 }