Zend Framework  3.0
Public Member Functions | List of all members
StorageCacheFactory Class Reference

Storage cache factory. More...

Public Member Functions

 __invoke (ContainerInterface $container, $requestedName, array $options=null)
 Create an object.
 
 createService (ServiceLocatorInterface $serviceLocator)
 Create service.
 

Detailed Description

Storage cache factory.

Member Function Documentation

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

Create an object.

Parameters
ContainerInterface$container
string$requestedName
null | array$options
Returns
object
Exceptions
ServiceNotFoundExceptionif unable to resolve the service.
ServiceNotCreatedExceptionif an exception is raised when creating a service.
ContainerExceptionif any other error occurs

Implements FactoryInterface.

createService ( ServiceLocatorInterface  $serviceLocator)

Create service.

Parameters
ServiceLocatorInterface$serviceLocator
Returns
mixed

Implements FactoryInterface.