On 30.12.2010, at 13:00, Johannes wrote:

> Can't we have a custom merge method (like mergeXXXConfiguration) on
> the XXXExtension for merging multiple configurations, and then only
> call xxxLoad() once with a merged configuration? Handling different
> configurations in xxxLoad() is not straightforward, especially if you
> load conditional configuration files or create service definitions
> programmatically depending on the configuration.


yeah we are also discussing this as part of FOS\UserBundle:
https://github.com/FriendsOfSymfony/UserBundle/pull/10

Obviously merging everything from all env's together might in some cases mean 
that things could get merged in ways the user didn't intend, but I think those 
will be edge cases that can be handled with parameters in the rare cases its 
needed.

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

Reply via email to