src/CacheInclude.php
public function getCombinedConfig($name)
    {
        $config = $this->defaultConfig;
        if (isset($this->config[$name]) && is_array($this->config[$name])) {
            $config = $this->config[$name] + $config;
        } else {
            throw new RuntimeException("Config '$name' doesn't exist, please check your config");
        }

        return $config;
    }
public function getCombinedConfig($name)
    {
        $config = $this->defaultConfig;
        if (isset($this->config[$name]) && is_array($this->config[$name])) {
            $config = $this->config[$name] + $config;
        } else {
            throw new RuntimeException("Config '$name' doesn't exist, please check your config");
        }

        return $config;
    }
public function getCombinedConfig ( $ name ) { $ config = $ this -> defaultConfig ; if ( isset ( $ this -> config [ $ name ] ) && is_array ( $ this -> config [ $ name ] ) ) { $ config = $ this -> config [ $ name ] + $ config ; } else { throw new RuntimeException ( "Config '$name' doesn't exist, please check your config" ) ; } return $ config ; }
Get the default config combined with the provided config

@param $name
@return mixed
@throws \RuntimeException
Get the default config combined with the provided config