But that is the "oposite" of what I want. There you have specific env
settings extending a common session setting. What I want is common
setting extending specific environment ones. Thats is because I´ll
have my "core" components in the env conf and these will have mocks.
The specific confs wont have mocks and dont need to be extended....

2009/10/5 noel guilbert <noelguilb...@gmail.com>:
> Hi,
>
> There is a pretty good example about this in the documentation (at the end
> of the capter) :
> http://components.symfony-project.org/dependency-injection/trunk/book/05-Service-Description
>
>
> On Mon, Oct 5, 2009 at 6:04 PM, Bruno Reis <bruno.p.r...@gmail.com> wrote:
>>
>> I´m looking at the symfony DI containers. I see I can import some
>> definitions from another xml or yml.
>>
>> Is there a way import definitions based on actual environment?
>>
>> I need to have some specific configurations for my services that
>> "extends" some general configuration. I want do define general
>> configuration for the test/dev/prod envs but my specific configuration
>> must stay the same.
>>
>> Anyone has a good solution for this?
>>
>> The  only thing I could figure out yet is to extend the
>> sfServiceContainerLoaderFileXml class and overide the parseImport or
>> parseImports method. Any other ideas?
>>
>> Bruno
>>
>>
>
>
>
> --
> Noël GUILBERT
> http://www.noelguilbert.com/
> http://www.sensiolabs.com
> http://www.symfony-project.com
> Sensio Labs
> Tél: +33 1 40 99 80 80
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to