Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function onBootstrap(Event $e)
- {
- $app = $e->getTarget();
- $locator = $app->getServiceLocator()->get('Di');
- $locator = $app->getServiceLocator();
- $locator = $app->getLocator();
- $this->helperLoader = $app->getLocator()->get('Zend\View\HelperLoader');
- }
- Fatal error: Call to undefined method Zend\Mvc\Application::getServiceLocator() in /srv/httpd/cms/zf2/module/TestNodule/Module.php on line 63
Advertisement
Add Comment
Please, Sign In to add comment