Why is there no way of registering a helper that you've instantiate yourself with an instance of Zend_View? Why is the only way to instantiate one through the plugin loader? What if I wanted to control the instantiation of a view helper (for DI purposes, let's say). Or what if I wanted to add a view helper which didn't conform to the Zend\Pear naming standards (let's say it used php 5.3 namespaces). Is there a reason the design is this way?
没有评论:
发表评论