\App\ProvidersRouteServiceProvider

Summary

Methods
Properties
Constants
boot()
map()
No public properties found
No constants found
mapWebRoutes()
mapApiRoutes()
$namespace
N/A
No private methods found
No private properties found
N/A

Properties

$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

Methods

boot()

boot() : void

Define your route model bindings, pattern filters, etc.

map()

map() : void

Define the routes for the application.

mapWebRoutes()

mapWebRoutes() : void

Define the "web" routes for the application.

These routes all receive session state, CSRF protection, etc.

mapApiRoutes()

mapApiRoutes() : void

Define the "api" routes for the application.

These routes are typically stateless.