app/Providers/RouteServiceProvider.php
/**
     * Define the "web" routes for the application.
     *
     * These routes all receive session state, CSRF protection, etc.
     *
     * @return void
     */
Define the "web" routes for the application.
These routes all receive session state, CSRF protection, etc.

@return void
Define the " web " routes for the application . These routes all receive session state CSRF protection etc . @return void
protected function mapWebRoutes()
    {
        Route::group([
            'middleware' => 'web',
            'namespace' => $this->namespace,
        ], function ($router) {
            $this->requireRouteFiles('web.php');
        });
    }
protected function mapWebRoutes ( ) { Route :: group ( [ 'middleware' => 'web' , 'namespace' => $ this -> namespace , ] , function ( $ router ) { $ this -> requireRouteFiles ( 'web.php' ) ; } ) ; }
Define the "web" routes for the application.
Define the " web " routes for the application .