RouteServiceProvider
extends RouteServiceProvider
in package
Table of Contents
Properties
- $name : string
Methods
- boot() : void
- Called before routes are registered.
- map() : void
- Define the routes for the application.
- mapApiRoutes() : void
- Define the "api" routes for the application.
- mapWebRoutes() : void
- Define the "web" routes for the application.
Properties
$name
protected
string
$name
= 'Auth'
Methods
boot()
Called before routes are registered.
public
boot() : void
Register any model bindings or pattern based filters.
map()
Define the routes for the application.
public
map() : void
mapApiRoutes()
Define the "api" routes for the application.
protected
mapApiRoutes() : void
These routes are typically stateless.
mapWebRoutes()
Define the "web" routes for the application.
protected
mapWebRoutes() : void
These routes all receive session state, CSRF protection, etc.