Class StorageFactory

Summary

Fully Qualified Name: Zend\Cache\StorageFactory

Description

Methods

Name Description Defined By
adapterFactory() Instantiate a storage adapter StorageFactory
factory() The storage factory This can instantiate storage adapters and plugins. StorageFactory
getAdapterPluginManager() Get the adapter plugin manager StorageFactory
getPluginManager() Get the plugin manager StorageFactory
pluginFactory() Instantiate a storage plugin StorageFactory
resetAdapterPluginManager() Resets the internal adapter plugin manager StorageFactory
resetPluginManager() Resets the internal plugin manager StorageFactory
setAdapterPluginManager() Change the adapter plugin manager StorageFactory
setPluginManager() Change the plugin manager StorageFactory

Method Details

adapterFactory()

Instantiate a storage adapter

Parameter Name Type Description
$adapterName string|\Storage\StorageInterface
$options array|\Traversable|\Storage\Adapter\AdapterOptions

Returns: \Storage\StorageInterface

factory()

The storage factory This can instantiate storage adapters and plugins.

Parameter Name Type Description
$cfg array|\Traversable

Returns: \Storage\StorageInterface

getAdapterPluginManager()

Get the adapter plugin manager

Returns: \Storage\AdapterPluginManager

getPluginManager()

Get the plugin manager

Returns: \Storage\PluginManager

pluginFactory()

Instantiate a storage plugin

Parameter Name Type Description
$pluginName string|\Storage\Plugin\PluginInterface
$options array|\Traversable|\Storage\Plugin\PluginOptions

Returns: \Storage\Plugin\PluginInterface

resetAdapterPluginManager()

Resets the internal adapter plugin manager

Returns: void

resetPluginManager()

Resets the internal plugin manager

Returns: void

setAdapterPluginManager()

Change the adapter plugin manager

Parameter Name Type Description
$adapters \Storage\AdapterPluginManager

Returns: void

setPluginManager()

Change the plugin manager

Parameter Name Type Description
$plugins \Storage\PluginManager

Returns: void

Top