Storage cache factory for multiple caches.

 Methods

Determine if we can create a service with name

canCreateServiceWithName(\Zend\ServiceManager\ServiceLocatorInterface $services, string $name, string $requestedName) : bool

Parameters

$name

string

$requestedName

string

Returns

bool

Create service with name

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

Parameters

$name

string

$requestedName

string

Returns

Retrieve cache configuration, if any

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

Parameters

Returns

array

 Properties

 

$config

$config : array

 

Configuration key for cache objects

$configKey : string