View Helper Manager not accessible in Module Bootstrap using ZF3
问题 Using Zend Framework 2 I can access the ViewHelperManager doing this: public function onBootstrap(MvcEvent $e) $viewHelperManager = $e->getApplication()->getServiceManager()->get('viewHelperManager'); } This does not seem to work anymore in my Modules since starting a new project using Zend Framework 3 . Not quite sure what to do here. 回答1: The Services are uppercased in Zend Framework 3 apparently. $viewHelperManager = $e->getApplication()->getServiceManager()->get('ViewHelperManager'); var