Can't you remove the definitions you used as templates as is done in
the SecurityExtension:
https://github.com/fabpot/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/SecurityExtension.php#L146

On 5 Nov., 03:18, Jonathan Wage <[email protected]> wrote:
> On Wed, Nov 3, 2010 at 2:18 PM, Lukas Kahwe Smith <[email protected]> wrote:
>
>
>
> > On 03.11.2010, at 19:54, Jonathan Wage wrote:
>
> >> 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.
>
> > hmm maybe we need to make it easier to duplicate service definitions with 
> > different parameters inside the DIC config?
>
> It would be nice to be able to have a service definition that can be
> defined in the resource configuration and then use a clone of that in
> the extension class to create the DBAL definitions from. We can do
> this now, but the problem is we'll have a dummy service for the
> connection that shouldn't be generated in the container cache.
>
> - Jon
>
>
>
>
>
> > 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. Wagehttp://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