Hi Lukas, > hmm not sure how this is superior to just injecting the services into the > constructor? seems quite verbose and i am not sure for what gain.
there is no big difference. The main one is that you do not need it while constructing the object instance. This can be good or bad, depending on what you want to do and how you want to use your instance. If you have a pool of action instances (not sure why you would want that) you just can reset the container. Just a matter of taste and a different idea Fabian -- 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 To unsubscribe from this group, send email to symfony-devs+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
