public function spawn($name, Collection $collection)
    {
        $nb = new self($name, $this->conf);
        $nb->takeCollection($collection);

        return $nb;
    }
public function spawn($name, Collection $collection)
    {
        $nb = new self($name, $this->conf);
        $nb->takeCollection($collection);

        return $nb;
    }
public function spawn ( $ name , Collection $ collection ) { $ nb = new self ( $ name , $ this -> conf ) ; $ nb -> takeCollection ( $ collection ) ; return $ nb ; }
Creates a new Builder instance with the given name and collection.

@param $name
@param Collection $collection

@return Builder
Creates a new Builder instance with the given name and collection .