src/ConfigAwareTrait.php
protected function prepareConfig(array $config)
    {
        $config = new Config($config);
        $config->setFallback($this->getConfig());

        return $config;
    }
protected function prepareConfig(array $config)
    {
        $config = new Config($config);
        $config->setFallback($this->getConfig());

        return $config;
    }
protected function prepareConfig ( array $ config ) { $ config = new Config ( $ config ) ; $ config -> setFallback ( $ this -> getConfig ( ) ) ; return $ config ; }
Convert a config array to a Config object with the correct fallback.

@param array $config

@return Config
Convert a config array to a Config object with the correct fallback .