Hey Michel, Well it would just be a helper for a smooth migration. If the Util class would loose the "get" and "has" methods to container then you could get rid of the Container injection aswell.
greetings, Benjamin On Thu, 23 Jun 2011 03:13:08 -0700 (PDT) Michel Salib <[email protected]> wrote: > 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 -- 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
