Class Guzzle\Service\CachingConfigLoader


Decorator that adds caching to a service description loader

Property Details

$cache protected property
$loader protected property

Method Details

__construct() public method

public void __construct ( Guzzle\Service\ConfigLoaderInterface $loader, Guzzle\Cache\CacheAdapterInterface $cache )
$loader Guzzle\Service\ConfigLoaderInterface

Loader used to load the config when there is a cache miss

$cache Guzzle\Cache\CacheAdapterInterface

Object used to cache the loaded result

load() public method

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