Zend Framework  3.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
StorageCacheAbstractServiceFactory Class Reference

Storage cache factory for multiple caches. More...

Public Member Functions

 canCreate (ContainerInterface $container, $requestedName)
 
 canCreateServiceWithName (ServiceLocatorInterface $serviceLocator, $name, $requestedName)
 
 __invoke (ContainerInterface $container, $requestedName, array $options=null)
 Create an object.
 
 createServiceWithName (ServiceLocatorInterface $serviceLocator, $name, $requestedName)
 Create service with name.
 

Protected Member Functions

 getConfig (ContainerInterface $container)
 Retrieve cache configuration, if any.
 

Protected Attributes

 $config
 
 $configKey = 'caches'
 

Detailed Description

Storage cache factory for multiple caches.

Member Function Documentation

__invoke ( ContainerInterface  $container,
  $requestedName,
array  $options = null 
)

Create an object.

Parameters
ContainerInterface$container
string$requestedName
null | array$options
Returns
object

Implements FactoryInterface.

canCreate ( ContainerInterface  $container,
  $requestedName 
)
Parameters
ContainerInterface$container
string$requestedName
Returns
boolean

Implements AbstractFactoryInterface.

canCreateServiceWithName ( ServiceLocatorInterface  $serviceLocator,
  $name,
  $requestedName 
)
Parameters
ServiceLocatorInterface$serviceLocator
string$name
string$requestedName
Returns
boolean

Implements AbstractFactoryInterface.

createServiceWithName ( ServiceLocatorInterface  $serviceLocator,
  $name,
  $requestedName 
)

Create service with name.

Parameters
ServiceLocatorInterface$serviceLocator
$name
$requestedName
Returns
mixed

Implements AbstractFactoryInterface.

getConfig ( ContainerInterface  $container)
protected

Retrieve cache configuration, if any.

Parameters
ContainerInterface$container
Returns
array

Member Data Documentation

$config
protected
$configKey = 'caches'
protected