Class Guzzle\Service\CachingConfigLoader

InheritanceGuzzle\Service\CachingConfigLoader
ImplementsGuzzle\Service\ConfigLoaderInterface

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 = [] )
$config
$options