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.
- Jon On Mon, Oct 4, 2010 at 11:40 PM, Lukas Kahwe Smith <[email protected]>wrote: > > On 05.10.2010, at 03:55, Jonathan Wage wrote: > > > Did you try adding your own service in this format: > "doctrine.dbal.%s_connection"? It should use that to create the dbal service > instead of creating one in the code. > > yes that seems supported indeed. but it means i need to scavenge the source > code to first find out the service name and what it needs by default. i > think its a lot cleaner if there is a separate configuration file i can use > as a template in case i want to customize things. > > 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]<symfony-devs%[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
