Class ConsoleApplicationDelegatorFactory

Summary

Fully Qualified Name: Laminas\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() laminas-servicemanager v2 compatibility. ConsoleApplicationDelegatorFactory

Method Details

__invoke()

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

Returns: \Laminas\Mvc\ApplicationInterface

createDelegatorWithName()

laminas-servicemanager v2 compatibility.

Proxies to __invoke().

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

Returns: \Laminas\Mvc\ApplicationInterface

Top