On 15.01.2011, at 00:30, Nils Adermann wrote:

> As for the details of implementing this I think there should indeed by a 
> configLoad method which receives exactly one parameter and a configMerge 
> method which takes two configurations and merges them. Alternatively it could 
> take an array of config arrays, but that makes things more complicated. The 
> code calling configMerge would then check to see if that method is 
> implemented and otherwise simply overwrite the previous configs with the 
> newest one.


I also think that a separate merge method would be better.
The merge method should only accept 2 arrays and be called X-1 (where X is the 
number of configs) times. The default should just return the last definition, 
aka any subsequent config load overrides the previous one.

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