Open Journal Systems  3.3.0
Guzzle\Service\ConfigLoaderInterface Interface Reference
Inheritance diagram for Guzzle\Service\ConfigLoaderInterface:
Guzzle\Service\AbstractConfigLoader Guzzle\Service\CachingConfigLoader Guzzle\Service\Builder\ServiceBuilderLoader Guzzle\Service\Description\ServiceDescriptionLoader

Public Member Functions

 load ($config, array $options=array())
 

Detailed Description

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.

Definition at line 11 of file ConfigLoaderInterface.php.

Member Function Documentation

◆ load()

Guzzle\Service\ConfigLoaderInterface::load (   $config,
array  $options = array() 
)

Loads configuration data and returns an array of the loaded result

Parameters
mixed$configData to load (filename or array of data)
array$optionsArray of options to use when loading
Returns
mixed

Implemented in Guzzle\Service\AbstractConfigLoader, and Guzzle\Service\CachingConfigLoader.


The documentation for this interface was generated from the following file: