Closed weierophinney closed 8 years ago
Marked as WIP, as realized the aliases and factory names listed in Zend\Navigation\View\HelperConfig
need to be updated, based on feedback since the zend-view 2.6 release series..
No longer a WIP; all tested and working now!
This patch reverts some of the changes from #5 in favor of making the component forwards compatible with v3. Specifically:
^2.7 || ^3.0
^2.7.5 || ^3.0.3
ServiceFactory
significantly, and reverts v3-specific zend-servicemanager setup to use setup compatible with both versions.Additionally, this patch updates the
Zend\Navigation\View\HelperConfig
class to ensure it works correctly against both v2 and v3 releases of zend-servicemanager. In particular, it adds testing to the class, which uncovered an interesting situation: the documentednavigation_helpers
configuration previously did not work! With this patch, it now works correctly, regardless of version.