Fully Qualified Name: | Laminas\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() | laminas-servicemanager v2 compatibility. | ConsoleApplicationDelegatorFactory |
Parameter Name | Type | Description |
---|---|---|
$container | \ContainerInterface | |
$name | string | |
$callback | callable | |
$options | null|array |
Returns: \Laminas\Mvc\ApplicationInterface
laminas-servicemanager v2 compatibility.
Proxies to __invoke().
Parameter Name | Type | Description |
---|---|---|
$container | \ServiceLocatorInterface | |
$name | string | |
$requestedName | string | |
$callback | callable |
Returns: \Laminas\Mvc\ApplicationInterface