public function merge($collection)
    {
        if (is_object($collection) && $collection->count() > 0) {
            $this->collection = array_merge($this->collection, $collection->collection);
        }
    }
public function merge($collection)
    {
        if (is_object($collection) && $collection->count() > 0) {
            $this->collection = array_merge($this->collection, $collection->collection);
        }
    }
public function merge ( $ collection ) { if ( is_object ( $ collection ) && $ collection -> count ( ) > 0 ) { $ this -> collection = array_merge ( $ this -> collection , $ collection -> collection ) ; } }
Merge a collection with this collection.
@param Collection $collection Collection to merge with
Merge a collection with this collection .