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

Delegator factory for the SendResponseListener. More...

Public Member Functions

 __invoke (ContainerInterface $container, $name, callable $callback, array $options=null)
 
 createDelegatorWithName (ServiceLocatorInterface $container, $name, $requestedName, $callback)
 zend-servicemanager v2 compatibility.
 

Detailed Description

Delegator factory for the SendResponseListener.

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

Member Function Documentation

__invoke ( ContainerInterface  $container,
  $name,
callable  $callback,
array  $options = null 
)
Parameters
ContainerInterface$container
string$name
callable$callback
null | array$options
Returns

Implements DelegatorFactoryInterface.

createDelegatorWithName ( ServiceLocatorInterface  $container,
  $name,
  $requestedName,
  $callback 
)

zend-servicemanager v2 compatibility.

Proxies to __invoke().

Parameters
ServiceLocatorInterface$container
string$name
string$requestedName
callable$callback
Returns

Implements DelegatorFactoryInterface.