$namespace $namespace : string This namespace is applied to your controller routes. 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
mapWebRoutes() mapWebRoutes(\Illuminate\Routing\Router $router) : void Define the "web" routes for the application. These routes all receive session state, CSRF protection, etc. Parameters \Illuminate\Routing\Router $router