Class ViewManagerDelegatorFactory

Summary

Fully Qualified Name: Laminas\Mvc\Console\Service\ViewManagerDelegatorFactory
Implements: DelegatorFactoryInterface

Description

Methods

Name Description Defined By
__invoke() Return a ConsoleViewManager if in a Console environment. ViewManagerDelegatorFactory
createDelegatorWithName() Return a ConsoleViewManager if in a Console environment. (v2) ViewManagerDelegatorFactory

Method Details

__invoke()

Return a ConsoleViewManager if in a Console environment.

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

Returns: \Laminas\Mvc\Console\View\ViewManager|\Laminas\Mvc\View\Http\ViewManager

createDelegatorWithName()

Return a ConsoleViewManager if in a Console environment. (v2)

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

Returns: \Laminas\Mvc\Console\View\ViewManager|\Laminas\Mvc\View\Http\ViewManager

Top