ZF-Commons/ZfcTwig — pull request #4 by alexdenvir (2012-06-26 15:18:18+00:00)
Title: Use HelperPluginManager instead of HelperBroker

Following the updates to zf2 to use AbstractPluginManager, Zend\View\HelperBroker was no longer available.

(see https://github.com/zendframework/zf2/commit/d12447e085b32073bb74b47782a0642468097cf4)

As such, attempting to load a template using any view helpers resulted in the following fatal error:

Catchable fatal error: Argument 1 passed to ZfcTwig\Twig\Environment::setBroker() must be an instance of Zend\View\HelperBroker, instance of Zend\View\HelperPluginManager given, called in /vagrant/vendor/zf-commons/zfc-twig/src/ZfcTwig/Service/EnvironmentFactory.php on line 25 and defined in /vagrant/vendor/zf-commons/zfc-twig/src/ZfcTwig/Twig/Environment.php on line 36