public function merge(Collection $collection)
    {
        $this->requestCount += count($collection);
        foreach($collection as $item) {
            $this->add($item);
        }
    }
public function merge(Collection $collection)
    {
        $this->requestCount += count($collection);
        foreach($collection as $item) {
            $this->add($item);
        }
    }
public function merge ( Collection $ collection ) { $ this -> requestCount += count ( $ collection ) ; foreach ( $ collection as $ item ) { $ this -> add ( $ item ) ; } }
Merge a collection with the current collection
@param Collection $collection The collection to merge
Merge a collection with the current collection