Your idea is some kind of ingenious. But as long as I know the idea of using the controller as a service is to avoid the "bad practice" of injecting the container itself, and using the Util class just move the bad practice to another class. So I don't see any benefit of using this method against the base-class practice.
Maybe I am missing something. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
