Fully Qualified Name: | Zend\Mvc\Console\Service\ConsoleApplicationDelegatorFactory |
Implements: | DelegatorFactoryInterface |
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.
Name | Description | Defined By |
---|---|---|
__invoke() | ConsoleApplicationDelegatorFactory | |
createDelegatorWithName() | zend-servicemanager v2 compatibility. | ConsoleApplicationDelegatorFactory |
Parameter Name | Type | Description |
---|---|---|
$container | \ContainerInterface | |
$name | string | |
$callback | callable | |
$options | null|array |
Returns: \Zend\Mvc\ApplicationInterface
zend-servicemanager v2 compatibility.
Proxies to __invoke().
Parameter Name | Type | Description |
---|---|---|
$container | \ServiceLocatorInterface | |
$name | string | |
$requestedName | string | |
$callback | callable |
Returns: \Zend\Mvc\ApplicationInterface