Zend\Mvc\Service\ViewManagerFactory::createService PHP Method

createService() public method

For use with zend-servicemanager v2; proxies to __invoke().
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : ViewManager
$container Zend\ServiceManager\ServiceLocatorInterface
return Zend\Mvc\View\Http\ViewManager
    public function createService(ServiceLocatorInterface $container)
    {
        return $this($container, HttpViewManager::class);
    }
ViewManagerFactory