Menu

## RouteServiceProvider extends RouteServiceProvider
in package

RouteServiceProvider.php : 8

### Table of Contents

#### Properties

$accountantNamespace : mixed
$adminNamespace : mixed
$inventoryNamespace : mixed
$librarianNamespace : mixed
$namespace : string
  This namespace is applied to your controller routes.
$payrollNamespace : mixed
$receptionistNamespace : mixed
$stockNamespace : mixed
$studentNamespace : mixed
$superadminNamespace : mixed
$teacherNamespace : mixed

#### Methods

boot() : void
  Define your route model bindings, pattern filters, etc.
map() : void
  Define the routes for the application.
mapAccountantRoutes() : mixed
mapAdminRoutes() : mixed
mapApiRoutes() : void
  Define the "api" routes for the application.
mapInventoryRoutes() : mixed
mapLibrarianRoutes() : mixed
mapPayrollRoutes() : mixed
mapReceptionistRoutes() : mixed
mapSettingsRoutes() : mixed
mapStockRoutes() : mixed
mapStudentRoutes() : mixed
mapSuperadminRoutes() : mixed
mapTeacherRoutes() : mixed
mapWebRoutes() : void
  Define the "web" routes for the application.

### Properties

#### $accountantNamespace

RouteServiceProvider.php : 25
`protected mixed $accountantNamespace = 'App\Http\Controllers\Accountant'`

#### $adminNamespace

RouteServiceProvider.php : 18
`protected mixed $adminNamespace = 'App\Http\Controllers\Admin'`

#### $inventoryNamespace

RouteServiceProvider.php : 19
`protected mixed $inventoryNamespace = 'App\Http\Controllers\Staff'`

#### $librarianNamespace

RouteServiceProvider.php : 21
`protected mixed $librarianNamespace = 'App\Http\Controllers\Librarian'`

#### $namespace

RouteServiceProvider.php : 17

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.

#### $payrollNamespace

RouteServiceProvider.php : 26
`protected mixed $payrollNamespace = 'App\Http\Controllers\Payroll'`

#### $receptionistNamespace

RouteServiceProvider.php : 24
`protected mixed $receptionistNamespace = 'App\Http\Controllers\Receptionist'`

#### $stockNamespace

RouteServiceProvider.php : 20
`protected mixed $stockNamespace = 'App\Http\Controllers\Stock'`

#### $studentNamespace

RouteServiceProvider.php : 22
`protected mixed $studentNamespace = 'App\Http\Controllers\Student'`

#### $superadminNamespace

RouteServiceProvider.php : 28
`protected mixed $superadminNamespace = 'App\Http\Controllers\Superadmin'`

#### $teacherNamespace

RouteServiceProvider.php : 23
`protected mixed $teacherNamespace = 'App\Http\Controllers\Teacher'`

### Methods

#### boot()

RouteServiceProvider.php : 37

Define your route model bindings, pattern filters, etc.

`public boot() : void`

#### map()

RouteServiceProvider.php : 49

Define the routes for the application.

`public map() : void`

#### mapAccountantRoutes()

RouteServiceProvider.php : 169
`protected mapAccountantRoutes() : mixed`

#### mapAdminRoutes()

RouteServiceProvider.php : 98
`protected mapAdminRoutes() : mixed`

#### mapApiRoutes()

RouteServiceProvider.php : 90

Define the "api" routes for the application.

`protected mapApiRoutes() : void`

These routes are typically stateless.

#### mapInventoryRoutes()

RouteServiceProvider.php : 114
`protected mapInventoryRoutes() : mixed`

#### mapLibrarianRoutes()

RouteServiceProvider.php : 130
`protected mapLibrarianRoutes() : mixed`

#### mapPayrollRoutes()

RouteServiceProvider.php : 177
`protected mapPayrollRoutes() : mixed`

#### mapReceptionistRoutes()

RouteServiceProvider.php : 161
`protected mapReceptionistRoutes() : mixed`

#### mapSettingsRoutes()

RouteServiceProvider.php : 106
`protected mapSettingsRoutes() : mixed`

#### mapStockRoutes()

RouteServiceProvider.php : 122
`protected mapStockRoutes() : mixed`

#### mapStudentRoutes()

RouteServiceProvider.php : 138
`protected mapStudentRoutes() : mixed`

#### mapSuperadminRoutes()

RouteServiceProvider.php : 194
`protected mapSuperadminRoutes() : mixed`

#### mapTeacherRoutes()

RouteServiceProvider.php : 153
`protected mapTeacherRoutes() : mixed`

#### mapWebRoutes()

RouteServiceProvider.php : 76

Define the "web" routes for the application.

`protected mapWebRoutes() : void`

These routes all receive session state, CSRF protection, etc.

## Search results