protected function loadRoutes($routes)
    {
        if ($routes instanceof Closure) {
            $routes($this);
        } else {
            (new RouteFileRegistrar($this))->register($routes);
        }
    }
protected function loadRoutes($routes)
    {
        if ($routes instanceof Closure) {
            $routes($this);
        } else {
            (new RouteFileRegistrar($this))->register($routes);
        }
    }
protected function loadRoutes ( $ routes ) { if ( $ routes instanceof Closure ) { $ routes ( $ this ) ; } else { ( new RouteFileRegistrar ( $ this ) ) -> register ( $ routes ) ; } }
Load the provided routes.

@param  \Closure|string  $routes
@return void
Load the provided routes .