src/Routing/RouteServiceProvider.php
/**
     * Define the "api" routes for the application.
     *
     * These routes are typically stateless.
     *
     * @return void
     */
Define the "api" routes for the application.
These routes are typically stateless.

@return void
Define the " api " routes for the application . These routes are typically stateless . @return void
protected function mapApiRoutes()
    {
        Route::group([
            'middleware' => ['api'],
            'namespace'  => $this->namespace,
            'prefix'     => config('soda.cms.path').'/api',
        ], function ($router) {
            require __DIR__.'/../../routes/api.php';
        });
    }
protected function mapApiRoutes ( ) { Route :: group ( [ 'middleware' => [ 'api' ] , 'namespace' => $ this -> namespace , 'prefix' => config ( 'soda.cms.path' ) . '/api' , ] , function ( $ router ) { require __DIR__ . '/../../routes/api.php' ; } ) ; }
Define the "api" routes for the application.
Define the " api " routes for the application .