Fully Qualified Name: | Laminas\Mvc\Console\Service\ControllerManagerDelegatorFactory |
Implements: | DelegatorFactoryInterface |
Name | Description | Defined By |
---|---|---|
__invoke() | Add a ControllerManager initializer to inject the console into AbstractConsoleController instances. | ControllerManagerDelegatorFactory |
createDelegatorWithName() | Add a ControllerManager initializer to inject the console into AbstractConsoleController instances. (v2) | ControllerManagerDelegatorFactory |
injectConsole() | Initializer: inject a Console instance into AbstractConsoleController instances. | ControllerManagerDelegatorFactory |
Add a ControllerManager initializer to inject the console into AbstractConsoleController instances.
Parameter Name | Type | Description |
---|---|---|
$container | \ContainerInterface | |
$name | string | |
$callback | callable | |
$options | null|array |
Returns: \Laminas\Mvc\Controller\ControllerManager
Add a ControllerManager initializer to inject the console into AbstractConsoleController instances. (v2)
Parameter Name | Type | Description |
---|---|---|
$container | \ServiceLocatorInterface | |
$name | string | |
$requestedName | string | |
$callback | callable |
Returns: \Laminas\Mvc\Controller\ControllerManager
Initializer: inject a Console instance into AbstractConsoleController instances.
Parameter Name | Type | Description |
---|---|---|
$first | \ContainerInterface|mixed | ContainerInterface |
$second | mixed|\ServiceLocatorInterface | Instance |
Returns: void