Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • AbstractConfigLoader
  • CachingConfigLoader
  • Client

Interfaces

  • ClientInterface
  • ConfigLoaderInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class CachingConfigLoader

Decorator that adds caching to a service description loader

Guzzle\Service\CachingConfigLoader implements Guzzle\Service\ConfigLoaderInterface
Namespace: Guzzle\Service
Located at Guzzle/Service/CachingConfigLoader.php
Methods summary
public
# __construct( Guzzle\Service\ConfigLoaderInterface $loader, Guzzle\Cache\CacheAdapterInterface $cache )

Add caching to a config loader

Add caching to a config loader

Parameters

$loader
Guzzle\Service\ConfigLoaderInterface
$loader Loader used to load the config when there is a cache miss
$cache
Guzzle\Cache\CacheAdapterInterface
$cache Object used to cache the loaded result
public mixed
# load( mixed $config, array $options = array() )

Loads configuration data and returns an array of the loaded result

Loads configuration data and returns an array of the loaded result

Parameters

$config
mixed
$config Data to load (filename or array of data)
$options
array
$options Array of options to use when loading

Returns

mixed

Implementation of

Guzzle\Service\ConfigLoaderInterface::load()
Properties summary
protected Guzzle\Service\ConfigLoaderInterface $loader
#
protected Guzzle\Cache\CacheAdapterInterface $cache
#
php-coveralls API documentation generated by ApiGen 2.8.0