Framework\Providers\RouteServiceProvider::mapApiRoutes PHP 메소드

mapApiRoutes() 보호된 메소드

These routes are typically stateless.
protected mapApiRoutes ( ) : void
리턴 void
    protected function mapApiRoutes()
    {
        Route::group(['middleware' => 'api', 'namespace' => $this->namespace, 'prefix' => 'api'], function ($router) {
            require base_path('routes/api.php');
        });
    }