On Fri, Aug 23, 2013 at 4:52 PM, Philip G <[email protected]> wrote: > I read around that DI works on our controllers, just by supplying our > instance, and our DI parameters. However, I can't seem to get it working > with 2.2.2. I added my controller to allowed_controllers, and it's still > not working.
Just for argument's sake, why are you using Zend\Di instead of Zend\ServiceManager? Is there a compelling reason? I tend to steer people away from Zend\Di, as the configuration gets tricky, and we have a lot of unsolved edge cases in the code base. On the other hand, Zend\ServiceManager is well-maintained and well-understood. -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
