Documentation

RouteServiceProvider extends RouteServiceProvider
in package

Table of Contents

HOME  = '/'
The path to the "home" route for your application.
$namespace  : string
This namespace is applied to your controller routes.
boot()  : void
Define your route model bindings, pattern filters, etc.
configureRateLimiting()  : void
Configure the rate limiters for the application.

Constants

HOME

The path to the "home" route for your application.

public string HOME = '/'

This is used by Laravel authentication to redirect users after login.

Properties

$namespace

This namespace is applied to your controller routes.

protected string $namespace = 'App\\Http\\Controllers'

In addition, it is set as the URL generator's root namespace.

Methods

boot()

Define your route model bindings, pattern filters, etc.

public boot() : void
Return values
void

configureRateLimiting()

Configure the rate limiters for the application.

protected configureRateLimiting() : void
Return values
void

Search results