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.

- Jon

On Mon, Oct 4, 2010 at 9:18 AM, Lukas Kahwe Smith <[email protected]>wrote:

> Hi,
>
> wanted to ping about this once more.
> especially for such "core" bundles its important that we figure out and use
> best practices ..
>
> On 30.09.2010, at 14:59, Lukas Kahwe Smith wrote:
>
> > Hi,
> >
> > I just wanted to add a method call to the service definition of the
> doctrine.dbal service.
> > I noticed that the default service definition is actually inside
> DoctrineExtension.php.
> > IMHO thats kinda nasty. It would be nicer if bundles would always use a
> separate file for default service definitions so that you can use those as
> template with less having to browse through the code.
> >
> > 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
>
> Lukas Kahwe Smith
> [email protected]
>
>
>
>


-- 
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

Reply via email to