Exemple #1
0
 /**
  * Removes all given items from collection.
  *
  * @param array|\stekycz\collections\ArrayObject $items
  * @return \stekycz\collections\ArrayObject
  */
 public function removeAll($items)
 {
     $items = Collections::toArrayObject($items);
     $this->items = array_diff($this->items, $items->items);
     return $this;
 }