Class ConsoleViewHelperManagerDelegatorFactory

Summary

Fully Qualified Name: Zend\Mvc\Console\Service\ConsoleViewHelperManagerDelegatorFactory
Implements: DelegatorFactoryInterface

Description

Delegator factory for the zend-view helper manager.

Injects the alternate Url and BasePath helper factories if the current environment is a console environment.

Methods

Name Description Defined By
__invoke() ConsoleViewHelperManagerDelegatorFactory
createDelegatorWithName() zend-servicemanager v2 compatibility. ConsoleViewHelperManagerDelegatorFactory

Method Details

__invoke()

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

Returns: \HelperPluginManager

createDelegatorWithName()

zend-servicemanager v2 compatibility.

Proxies to __invoke().

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

Returns: \HelperPluginManager

Top