Class ConsoleResponseSenderDelegatorFactory

Summary

Fully Qualified Name: Zend\Mvc\Console\Service\ConsoleResponseSenderDelegatorFactory
Implements: DelegatorFactoryInterface

Description

Delegator factory for the SendResponseListener.

Injects the ConsoleResponseSender as an event listener on the SendResponseListener prior to returning it.

Methods

Name Description Defined By
__invoke() ConsoleResponseSenderDelegatorFactory
createDelegatorWithName() zend-servicemanager v2 compatibility. ConsoleResponseSenderDelegatorFactory

Method Details

__invoke()

Parameter Name Type Description
$container \ContainerInterface
$name string
$callback callable
$options null|array

Returns: \Zend\Mvc\SendResponseListener

createDelegatorWithName()

zend-servicemanager v2 compatibility.

Proxies to __invoke().

Parameter Name Type Description
$container \ServiceLocatorInterface
$name string
$requestedName string
$callback callable

Returns: \Zend\Mvc\SendResponseListener

Top