What I am saying is we're not just configuring one connection instance, we're dynamically creating however many are defined in the application configuration. So we cannot have a single connection dependency configured in the DI for you to modify. I understand what you want but I don't see how to do it. I am open to suggestions on how to actually do what you want.
- Jon On Fri, Oct 22, 2010 at 12:56 PM, Lukas Kahwe Smith <[email protected]> wrote: > > On 22.10.2010, at 19:06, Jonathan Wage wrote: > >> I am not quite sure how that would work. Because every connection definition >> is dynamically instantiated based on what is configured in the application >> config. Would the bundle DI configuration contain a template definition that >> is cloned? The problem I see then is that we have a class configured in the >> DI container that will never be used. > > not sure i understand. right now there is only a somewhat hardcoded PHP based > configuration in the extension itself. all i want is a parameterized xml or > yaml configuration, which i can easily adjust via the parameters or use as a > template for customizations. > > use case example: > add a beginTransaction() call after the creation of the to the DBAL service > > regards, > Lukas Kahwe Smith > [email protected] > > > > -- > 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 > -- Jonathan H. Wage http://www.twitter.com/jwage -- 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
