Class ConsoleApplicationDelegatorFactory

Summary

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

Description

Delegator factory for the Application instance.

If in a console environment, attaches the console view manager as an event listener on the Application prior to returning it.

Methods

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

Method Details

__invoke()

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

Returns: \Zend\Mvc\ApplicationInterface

createDelegatorWithName()

zend-servicemanager v2 compatibility.

Proxies to __invoke().

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

Returns: \Zend\Mvc\ApplicationInterface

Top