PHP Class Gitamin\Providers\RouteServiceProvider

Inheritance: extends Illuminate\Foundation\Support\Providers\RouteServiceProvider
Show file Open project: gitaminhq/gitamin

Protected Properties

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

Public Methods

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

Protected Methods

Method Description
mapWebRoutes ( Router $router ) : void Define the "web" routes for the application.
registerBindings ( ) : void Register model bindings.

Method Details

boot() public method

Define your route model bindings, pattern filters, etc.
public boot ( Router $router ) : void
$router Illuminate\Routing\Router
return void

map() public method

Define the routes for the application.
public map ( Router $router ) : void
$router Illuminate\Routing\Router
return void

mapWebRoutes() protected method

These routes all receive session state, CSRF protection, etc.
protected mapWebRoutes ( Router $router ) : void
$router Illuminate\Routing\Router
return void

registerBindings() protected method

Register model bindings.
protected registerBindings ( ) : 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