Interface Guzzle\Service\ConfigLoaderInterface

Implemented byGuzzle\Service\AbstractConfigLoader, Guzzle\Service\Builder\ServiceBuilderLoader, Guzzle\Service\CachingConfigLoader, Guzzle\Service\Description\ServiceDescriptionLoader

Interface used for loading configuration data (service descriptions, service builder configs, etc)

If a loaded configuration data sets includes a top level key containing an 'includes' section, then the data in the file will extend the merged result of all of the included config files.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
load() Loads configuration data and returns an array of the loaded result Guzzle\Service\ConfigLoaderInterface

Method Details

load() public abstract method

Loads configuration data and returns an array of the loaded result

public abstract mixed load ( $config, array $options = [] )
$config mixed

Data to load (filename or array of data)

$options array

Array of options to use when loading