public function loadConfiguration(ConfigurationLoader $loader, array $params = [])
	{
		try
		{
			$data = $loader->findLoader($this->source)->load($this->source, $params);
			
			return new Configuration($this->createBase($data));
		}
		catch(\Exception $e)
		{
			throw new ConfigurationLoadingException(sprintf('Unable to load config from source "%s"', $this->source->getPathname()), 0, $e);
		}
	}
public function loadConfiguration(ConfigurationLoader $loader, array $params = [])
	{
		try
		{
			$data = $loader->findLoader($this->source)->load($this->source, $params);
			
			return new Configuration($this->createBase($data));
		}
		catch(\Exception $e)
		{
			throw new ConfigurationLoadingException(sprintf('Unable to load config from source "%s"', $this->source->getPathname()), 0, $e);
		}
	}
public function loadConfiguration ( ConfigurationLoader $ loader , array $ params = [ ] ) { try { $ data = $ loader -> findLoader ( $ this -> source ) -> load ( $ this -> source , $ params ) ; return new Configuration ( $ this -> createBase ( $ data ) ) ; } catch ( \ Exception $ e ) { throw new ConfigurationLoadingException ( sprintf ( 'Unable to load config from source "%s"' , $ this -> source -> getPathname ( ) ) , 0 , $ e ) ; } }
Load configuration data from the source.

@param ConfigurationLoader $loader
@param array<string, mixed> $params
@return Configuration

@throws ConfigurationLoadingException
Load configuration data from the source .