PHP Class BookStack\Providers\RouteServiceProvider

Inheritance: extends Illuminate\Foundation\Support\Providers\RouteServiceProvider
Show file Open project: ssddanbrown/bookstack

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 application.

Protected Methods

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

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 application.
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 property

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