package Default

 Methods

Instantiate a storage adapter

adapterFactory(string|\Zend\Cache\Storage\StorageInterface $adapterName, array|\Traversable|\Zend\Cache\Storage\Adapter\AdapterOptions $options = array()) : \Zend\Cache\Storage\StorageInterface
Static

Parameters

$adapterName

string\Zend\Cache\Storage\StorageInterface

$options

array\Traversable\Zend\Cache\Storage\Adapter\AdapterOptions

Exceptions

\Zend\Cache\Exception\RuntimeException

Returns

\Zend\Cache\Storage\StorageInterface

The storage factory This can instantiate storage adapters and plugins.

factory(array|\Traversable $cfg) : \Zend\Cache\Storage\StorageInterface
Static

Parameters

$cfg

array\Traversable

Exceptions

\Zend\Cache\Exception\InvalidArgumentException

Returns

\Zend\Cache\Storage\StorageInterface

Get the adapter plugin manager

getAdapterPluginManager() : \Zend\Cache\Storage\AdapterPluginManager
Static

Returns

\Zend\Cache\Storage\AdapterPluginManager

Get the plugin manager

getPluginManager() : \Zend\Cache\Storage\PluginManager
Static

Returns

\Zend\Cache\Storage\PluginManager

Instantiate a storage plugin

pluginFactory(string|\Zend\Cache\Storage\Plugin\PluginInterface $pluginName, array|\Traversable|\Zend\Cache\Storage\Plugin\PluginOptions $options = array()) : \Zend\Cache\Storage\Plugin\PluginInterface
Static

Parameters

$pluginName

string\Zend\Cache\Storage\Plugin\PluginInterface

$options

array\Traversable\Zend\Cache\Storage\Plugin\PluginOptions

Exceptions

\Zend\Cache\Exception\RuntimeException

Returns

\Zend\Cache\Storage\Plugin\PluginInterface

Resets the internal adapter plugin manager

resetAdapterPluginManager() : void
Static

Resets the internal plugin manager

resetPluginManager() : void
Static

Change the adapter plugin manager

setAdapterPluginManager(\Zend\Cache\Storage\AdapterPluginManager $adapters) : void
Static

Parameters

$adapters

\Zend\Cache\Storage\AdapterPluginManager

Change the plugin manager

setPluginManager(\Zend\Cache\Storage\PluginManager $plugins) : void
Static

Parameters

$plugins

\Zend\Cache\Storage\PluginManager

 Properties

 

Plugin manager for loading adapters

$adapters : null | \Zend\Cache\Storage\AdapterPluginManager

Default

null
Static
 

Plugin manager for loading plugins

$plugins : null | \Zend\Cache\Storage\PluginManager

Default

null
Static