src/Zend.php
protected function loadConfig($environment = null, $configLocation = null)
	{
		$aggregator = new ConfigAggregator(
			[
				new ZendConfigProvider(realpath($configLocation . '/') . '/' . $environment . '.{json,xml,ini}'),
			]
		);
		return $aggregator->getMergedConfig();
	}
protected function loadConfig($environment = null, $configLocation = null)
	{
		$aggregator = new ConfigAggregator(
			[
				new ZendConfigProvider(realpath($configLocation . '/') . '/' . $environment . '.{json,xml,ini}'),
			]
		);
		return $aggregator->getMergedConfig();
	}
protected function loadConfig ( $ environment = null , $ configLocation = null ) { $ aggregator = new ConfigAggregator ( [ new ZendConfigProvider ( realpath ( $ configLocation . '/' ) . '/' . $ environment . '.{json,xml,ini}' ) , ] ) ; return $ aggregator -> getMergedConfig ( ) ; }
Load config and return as an array.

Loads <emvironment>.{json, xml, ini} from configLocation.

@param string $environment    Runtime environment.
@param string $configLocation Location from which to load config.

@return array
Load config and return as an array .