public function loadUserConfig(array $config, $magentoRootFolder = null)
{
if (null === $this->_userConfig) {
$this->_userConfig = array();
$locator = new ConfigLocator($this->_customConfigFilename, $magentoRootFolder);
if ($userConfigFile = $locator->getUserConfigFile()) {
$this->_userConfig = $userConfigFile->toArray();
}
}
$config = ArrayFunctions::mergeArrays($config, $this->_userConfig);
return $config;
}