$namespace $namespace : string This namespace is applied to the controller routes in your routes file. In addition, it is set as the URL generator's root namespace. Type string
boot() boot(\Illuminate\Routing\Router $router) : void Define your route model bindings, pattern filters, etc. Parameters \Illuminate\Routing\Router $router
map() map(\Illuminate\Routing\Router $router) : void Define the routes for the application. Parameters \Illuminate\Routing\Router $router