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

  • AbstractCacheAdapter
  • CacheAdapterFactory
  • ClosureCacheAdapter
  • DoctrineCacheAdapter
  • NullCacheAdapter
  • Zf1CacheAdapter
  • Zf2CacheAdapter

Interfaces

  • CacheAdapterInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class CacheAdapterFactory

Generates cache adapters and cache providers objects using an array of configuration data. This can be useful for creating cache adapters in client builder configuration files.

Guzzle\Cache\CacheAdapterFactory implements Guzzle\Common\FromConfigInterface
Namespace: Guzzle\Cache
Located at Guzzle/Cache/CacheAdapterFactory.php
Methods summary
public static Guzzle\Cache\CacheAdapterInterface
# factory( array $config = array() )

Create a Guzzle cache adapter based on an array of options

Create a Guzzle cache adapter based on an array of options

Parameters

$config
array
$config Array of configuration options

Returns

Guzzle\Cache\CacheAdapterInterface

Throws

Guzzle\Common\Exception\InvalidArgumentException

Implementation of

Guzzle\Common\FromConfigInterface::factory()
protected static mixed
# createObject( string $className, array $args = null )

Create a class using an array of constructor arguments

Create a class using an array of constructor arguments

Parameters

$className
string
$className Class name
$args
array
$args Arguments for the class constructor

Returns

mixed

Throws

Guzzle\Common\Exception\RuntimeException
php-coveralls API documentation generated by ApiGen 2.8.0