Thanks for this good detailed post but what I understood is that the controller_plugins will be removed in ZF4, so why not inject it where you need it ?
Maybe a post without doing it as controller_plugin might be helpfull!
thanks for your comment. Maybe I’ll write a post without injection.
In the meantime, could you please share your information about ZF4?
Thanks for your quick reply! I understood that from some people that use ZF a lot and plugins are not a proper way like the old fashioned $this->getServiceLocator()->get() way so will be out. I’m not sure but it has been told.
I came up to this as $this->getServiceLocator()->get() was used in my ZF2 project which I need to debug because of someone who made a lot of misstakes.
Would be nice if you can write such a detailed post like this as I kinda need it and was googleing and found your blog!
If I have some update I will post it but I’m pretty sure you are faster!
Hi! Have you been able to write some document about adding the translator to the controller ? Would be great!
this post is about adding translator to a controller.
True, but one without the injection part would be nice.
In case, it will appear on this blog.