PHP Class Zend\Mvc\Service\ViewHelperManagerFactory

Inheritance: extends AbstractPluginManagerFactory
Show file Open project: zendframework/zend-mvc Class Usage Examples

Protected Properties

Property Type Description
$defaultHelperMapClasses array These are *not* imported; that way they can be optional dependencies.

Public Methods

Method Description
__invoke ( Interop\Container\ContainerInterface $container, $requestedName, array $options = null ) : Zend\View\HelperPluginManager Create and return the view helper manager

Private Methods

Method Description
createBasePathHelperFactory ( Interop\Container\ContainerInterface $services ) : callable Create and return a factory for creating a BasePath helper.
createDoctypeHelperFactory ( Interop\Container\ContainerInterface $services ) : callable Create and return a Doctype helper factory.
createUrlHelperFactory ( Interop\Container\ContainerInterface $services ) : callable Create and return a factory for creating a URL helper.
injectOverrideFactories ( Zend\View\HelperPluginManager $plugins, Interop\Container\ContainerInterface $services ) : Zend\View\HelperPluginManager Inject override factories into the plugin manager.

Method Details

__invoke() public method

Create and return the view helper manager
public __invoke ( Interop\Container\ContainerInterface $container, $requestedName, array $options = null ) : Zend\View\HelperPluginManager
$container Interop\Container\ContainerInterface
$options array
return Zend\View\HelperPluginManager

Property Details

$defaultHelperMapClasses protected property

These are *not* imported; that way they can be optional dependencies.
protected array $defaultHelperMapClasses
return array