PHP Class Zend\Mvc\Service\HttpMethodListenerFactory

Inheritance: implements Zend\ServiceManager\FactoryInterface
Show file Open project: zendframework/zend-mvc

Public Methods

Method Description
__invoke ( Interop\Container\ContainerInterface $container, $name, array $options = null ) : HttpMethodListener
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : HttpMethodListener Create and return HttpMethodListener instance

Method Details

__invoke() public method

public __invoke ( Interop\Container\ContainerInterface $container, $name, array $options = null ) : HttpMethodListener
$container Interop\Container\ContainerInterface
$options array
return Zend\Mvc\HttpMethodListener

createService() public method

For use with zend-servicemanager v2; proxies to __invoke().
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : HttpMethodListener
$container Zend\ServiceManager\ServiceLocatorInterface
return Zend\Mvc\HttpMethodListener