Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct (ConfigLoaderInterface $loader, CacheAdapterInterface $cache) | |
load ($config, array $options=array()) | |
Protected Attributes | |
$cache | |
$loader | |
Decorator that adds caching to a service description loader
Definition at line 10 of file CachingConfigLoader.php.
Guzzle\Service\CachingConfigLoader::__construct | ( | ConfigLoaderInterface | $loader, |
CacheAdapterInterface | $cache | ||
) |
ConfigLoaderInterface | $loader | Loader used to load the config when there is a cache miss |
CacheAdapterInterface | $cache | Object used to cache the loaded result |
Definition at line 28 of file CachingConfigLoader.php.
References Guzzle\Service\CachingConfigLoader\$cache, and Guzzle\Service\CachingConfigLoader\$loader.
Guzzle\Service\CachingConfigLoader::load | ( | $config, | |
array | $options = array() |
||
) |
Loads configuration data and returns an array of the loaded result
mixed | $config | Data to load (filename or array of data) |
array | $options | Array of options to use when loading |
Implements Guzzle\Service\ConfigLoaderInterface.
Definition at line 34 of file CachingConfigLoader.php.
|
protected |
Definition at line 22 of file CachingConfigLoader.php.
Referenced by Guzzle\Service\CachingConfigLoader\__construct().
|
protected |
Definition at line 16 of file CachingConfigLoader.php.
Referenced by Guzzle\Service\CachingConfigLoader\__construct().