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

Public Member Functions

 __invoke (ContainerInterface $container, $name, 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

 
 createService (ServiceLocatorInterface $container)
 Create and return InjectTemplateListener instance.
 

Member Function Documentation

__invoke ( ContainerInterface  $container,
  $name,
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

Create and return an InjectTemplateListener instance.

Returns
InjectTemplateListener

Implements FactoryInterface.

createService ( ServiceLocatorInterface  $container)

Create and return InjectTemplateListener instance.

For use with zend-servicemanager v2; proxies to __invoke().

Parameters
ServiceLocatorInterface$container
Returns
InjectTemplateListener

Implements FactoryInterface.