Zend Framework  3.0
Public Member Functions | List of all members
HttpMethodListenerFactory 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 HttpMethodListener 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
}

Returns
HttpMethodListener

Implements FactoryInterface.

createService ( ServiceLocatorInterface  $container)

Create and return HttpMethodListener instance.

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

Parameters
ServiceLocatorInterface$container
Returns
HttpMethodListener

Implements FactoryInterface.