Open Monograph Press  3.3.0
Guzzle\Cache\CacheAdapterFactory Class Reference
Inheritance diagram for Guzzle\Cache\CacheAdapterFactory:
Guzzle\Common\FromConfigInterface

Static Public Member Functions

static factory ($config=array())
 
static fromCache ($cache)
 

Detailed Description

Generates cache adapters from any number of known cache implementations

Definition at line 15 of file CacheAdapterFactory.php.

Member Function Documentation

◆ factory()

static Guzzle\Cache\CacheAdapterFactory::factory (   $config = array())
static

Create a Guzzle cache adapter based on an array of options

Parameters
array$configArray of configuration options
Returns
CacheAdapterInterface
Exceptions
InvalidArgumentException
Deprecated:
This will be removed in a future version @codeCoverageIgnore

Implements Guzzle\Common\FromConfigInterface.

Definition at line 52 of file CacheAdapterFactory.php.

References Guzzle\Common\Version\warn().

◆ fromCache()

static Guzzle\Cache\CacheAdapterFactory::fromCache (   $cache)
static

The documentation for this class was generated from the following file: