interface LoaderInterface (View source)

The interface for a configuration loader

Methods

array
load(array $packages, ApplicationContext $context)

Read configuration resources and return the final configuration array for the given configurationType

Details

array load(array $packages, ApplicationContext $context)

Read configuration resources and return the final configuration array for the given configurationType

Parameters

array $packages

An array of Package objects (indexed by package key) to consider

ApplicationContext $context

Return Value

array

The Configuration array for the current configurationType