mapApiRoutes(); $this->mapCApiRoutes(); } /** * Define the "api" routes for the application. * * These routes are typically stateless. * * @return void */ protected function mapApiRoutes() { Route::prefix('api') ->middleware('api') ->namespace($this->namespace) ->group(base_path('routes/api.php')); } protected function mapCApiRoutes() { Route::prefix('cApi') ->middleware('api') ->namespace($this->namespace) ->group(base_path('routes/c_api.php')); } }