platform/api/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 mapApiRoutes()
    {
        Route::prefix('api')
            ->middleware('api')
            ->namespace($this->namespace)
            ->group(platform_path('api/routes/api.php'));
    }
protected function mapApiRoutes ( ) { Route :: prefix ( 'api' ) -> middleware ( 'api' ) -> namespace ( $ this -> namespace ) -> group ( platform_path ( 'api/routes/api.php' ) ) ; }
Define the "web" routes for the application.
Define the " web " routes for the application .