Storage cache factory for multiple caches.

package Default

 Methods

Determine if we can create a service with name

canCreateServiceWithName(\Zend\ServiceManager\ServiceLocatorInterface $services, string $name, string $requestedName) : boolean
inherited_from \Zend\ServiceManager\AbstractFactoryInterface::canCreateServiceWithName()

Parameters

$services

\Zend\ServiceManager\ServiceLocatorInterface

$name

string

$requestedName

string

Returns

boolean

Create service with name

createServiceWithName(\Zend\ServiceManager\ServiceLocatorInterface $services, string $name, string $requestedName) : \Zend\Cache\Storage\StorageInterface
inherited_from \Zend\ServiceManager\AbstractFactoryInterface::createServiceWithName()

Parameters

$services

\Zend\ServiceManager\ServiceLocatorInterface

$name

string

$requestedName

string

Returns

\Zend\Cache\Storage\StorageInterface

Retrieve cache configuration, if any

getConfig(\Zend\ServiceManager\ServiceLocatorInterface $services) : array

Parameters

$services

\Zend\ServiceManager\ServiceLocatorInterface

Returns

array

 Properties

 

$config

$config : array

Default

 

Configuration key for cache objects

$configKey : string

Default

'caches'