public function mount($prefix, self $builder)
    {
        $builder->prefix = trim(trim($prefix), '/');
        $this->routes[] = $builder;
    }
public function mount($prefix, self $builder)
    {
        $builder->prefix = trim(trim($prefix), '/');
        $this->routes[] = $builder;
    }
public function mount ( $ prefix , self $ builder ) { $ builder -> prefix = trim ( trim ( $ prefix ) , '/' ) ; $ this -> routes [ ] = $ builder ; }
Add a RouteCollectionBuilder.

@param string                 $prefix
@param RouteCollectionBuilder $builder
Add a RouteCollectionBuilder .