PHP Class DummyNamespace\Providers\RouteServiceProvider

Inheritance: extends Illuminate\Foundation\Support\Providers\RouteServiceProvider
Datei anzeigen Open project: caffeinated/modules

Protected Properties

Property Type Description
$namespace string In addition, it is set as the URL generator's root namespace.

Public Methods

Method Description
boot ( ) : void Define your route model bindings, pattern filters, etc.
map ( ) : void Define the routes for the module.

Protected Methods

Method Description
mapApiRoutes ( ) : void Define the "api" routes for the module.
mapWebRoutes ( ) : void Define the "web" routes for the module.

Method Details

boot() public method

Define your route model bindings, pattern filters, etc.
public boot ( ) : void
return void

map() public method

Define the routes for the module.
public map ( ) : void
return void

mapApiRoutes() protected method

These routes are typically stateless.
protected mapApiRoutes ( ) : void
return void

mapWebRoutes() protected method

These routes all receive session state, CSRF protection, etc.
protected mapWebRoutes ( ) : void
return void

Property Details

$namespace protected_oe property

In addition, it is set as the URL generator's root namespace.
protected string $namespace
return string