Illuminate\Support\ServiceProvider::mergeConfigFrom PHP Method

mergeConfigFrom() protected method

Merge the given configuration with the existing configuration.
protected mergeConfigFrom ( string $path, string $key ) : void
$path string
$key string
return void
    protected function mergeConfigFrom($path, $key)
    {
        $config = $this->app['config']->get($key, []);
        $this->app['config']->set($key, array_merge(require $path, $config));
    }