concrete/src/Api/ApiServiceProvider.php
public function register()
    {
        $config = $this->app->make("config");
        if ($this->app->isInstalled() && $config->get('concrete.api.enabled')) {
            $router = $this->app->make(Router::class);
            $list = new ApiRouteList();
            $list->loadRoutes($router);
            $this->registerAuthorizationServer();
        }
    }
public function register()
    {
        $config = $this->app->make("config");
        if ($this->app->isInstalled() && $config->get('concrete.api.enabled')) {
            $router = $this->app->make(Router::class);
            $list = new ApiRouteList();
            $list->loadRoutes($router);
            $this->registerAuthorizationServer();
        }
    }
public function register ( ) { $ config = $ this -> app -> make ( "config" ) ; if ( $ this -> app -> isInstalled ( ) && $ config -> get ( 'concrete.api.enabled' ) ) { $ router = $ this -> app -> make ( Router :: class ) ; $ list = new ApiRouteList ( ) ; $ list -> loadRoutes ( $ router ) ; $ this -> registerAuthorizationServer ( ) ; } }
Register API related stuff

@return void
Register API related stuff