AcMailer\Service\Factory\MailServiceAbstractFactory::createHelperPluginManager PHP Method

createHelperPluginManager() protected method

Creates a view helper manager
protected createHelperPluginManager ( Interop\Container\ContainerInterface $container ) : Zend\View\HelperPluginManager
$container Interop\Container\ContainerInterface
return Zend\View\HelperPluginManager
    protected function createHelperPluginManager(ContainerInterface $container)
    {
        $factory = new ViewHelperManagerFactory();
        /** @var HelperPluginManager $helperManager */
        $helperManager = $factory->__invoke($container, ViewHelperManagerFactory::PLUGIN_MANAGER_CLASS);
        $config = new Config($this->getSpecificConfig($container, 'view_helpers'));
        $config->configureServiceManager($helperManager);
        return $helperManager;
    }