Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • 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
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • Fatzebra
      • Message
  • PHP

Classes

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

Interfaces

  • CacheAdapterInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class CacheAdapterFactory

Generates cache adapters from any number of known cache implementations

Guzzle\Cache\CacheAdapterFactory implements Guzzle\Common\FromConfigInterface
Namespace: Guzzle\Cache
Located at src/Guzzle/Cache/CacheAdapterFactory.php
Methods summary
public static Guzzle\Cache\CacheAdapterInterface
# fromCache( mixed $cache )

Create a Guzzle cache adapter based on an array of options

Create a Guzzle cache adapter based on an array of options

Parameters

$cache
Cache value

Returns

Guzzle\Cache\CacheAdapterInterface

Throws

InvalidArgumentException
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

Deprecated

This will be removed in a future version

Parameters

$config
Array of configuration options

Returns

Guzzle\Cache\CacheAdapterInterface

Throws

InvalidArgumentException

Codecoverageignore

Implementation of

Guzzle\Common\FromConfigInterface::factory()
Omnipay Fat Zebra / Paystream Gateway Module API Documentation API documentation generated by ApiGen