Methods

Instantiate a storage adapter

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

The storage factory This can instantiate storage adapters and plugins.

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

Parameters

$cfg

array\Traversable

Exceptions

\Zend\Cache\Exception\InvalidArgumentException

Returns

Get the adapter plugin manager

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

Get the plugin manager

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

Resets the internal adapter plugin manager

resetAdapterPluginManager() : void

Resets the internal plugin manager

resetPluginManager() : void

Change the adapter plugin manager

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

Change the plugin manager

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

Parameters

 Properties

 

Plugin manager for loading adapters

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

 

Plugin manager for loading plugins

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