def load_configuration(configuration_file_path, parameters_file_path, bundles):
    'Combines the configuration and parameters and build the configuration object'
    mappings = {}
    for bundle in bundles:
        if hasattr(bundle, 'config_mapping'):
            mappings.update(bundle.config_mapping)
    loader = YmlLoader()
    return loader.build_config(mappings, config_source=configuration_file_path, parameters_source=parameters_file_path)
Combines the configuration and parameters and build the configuration object
def load_configuration(configuration_file_path, parameters_file_path, bundles):
    
    mappings = {}
    for bundle in bundles:
        if hasattr(bundle, 'config_mapping'):
            mappings.update(bundle.config_mapping)
    loader = YmlLoader()
    return loader.build_config(mappings, config_source=configuration_file_path, parameters_source=parameters_file_path)