Dingo\Api\Provider\DingoServiceProvider::registerConfig PHP Method

registerConfig() protected method

Register the configuration.
protected registerConfig ( ) : void
return void
    protected function registerConfig()
    {
        $this->mergeConfigFrom(realpath(__DIR__ . '/../../config/api.php'), 'api');
        if (!$this->app->runningInConsole() && empty($this->config('prefix')) && empty($this->config('domain'))) {
            throw new RuntimeException('Unable to boot ApiServiceProvider, configure an API domain or prefix.');
        }
    }