protected function mapWebRoutes()
    {
        Route::group([
            'middleware' => config($this->package.'.web_routes_middleware') ?: 'web',
            'namespace'  => $this->namespace,
            'prefix' => $this->prefix,
        ], function ($router) {
            require __DIR__.'/../Routes/web.php';
        });
    }
protected function mapWebRoutes()
    {
        Route::group([
            'middleware' => config($this->package.'.web_routes_middleware') ?: 'web',
            'namespace'  => $this->namespace,
            'prefix' => $this->prefix,
        ], function ($router) {
            require __DIR__.'/../Routes/web.php';
        });
    }
protected function mapWebRoutes ( ) { Route :: group ( [ 'middleware' => config ( $ this -> package . '.web_routes_middleware' ) ? : 'web' , 'namespace' => $ this -> namespace , 'prefix' => $ this -> prefix , ] , function ( $ router ) { require __DIR__ . '/../Routes/web.php' ; } ) ; }
Define the "web" routes for the module.

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

@return void
Define the web routes for the module .