protected function buildAppConfig($configPath)
    {
        $config = require($configPath);

        $callback = Arr::get($this->config, 'callback.vendor_config');
        if ($callback instanceof Closure) {
            $config = call_user_func($callback, $config);
        }

        return $config;
    }
protected function buildAppConfig($configPath)
    {
        $config = require($configPath);

        $callback = Arr::get($this->config, 'callback.vendor_config');
        if ($callback instanceof Closure) {
            $config = call_user_func($callback, $config);
        }

        return $config;
    }
protected function buildAppConfig ( $ configPath ) { $ config = require ( $ configPath ) ; $ callback = Arr :: get ( $ this -> config , 'callback.vendor_config' ) ; if ( $ callback instanceof Closure ) { $ config = call_user_func ( $ callback , $ config ) ; } return $ config ; }
Include and add our Service Provider to the App config.

@param  string $configPath

@return array
Include and add our Service Provider to the App config .