On 1/20/11 10:41 AM, Jordi Boggiano wrote:
On 20.01.2011 08:46, Fabien Potencier wrote:
I think it make sense to keep the current rule for bundle ordering as it
seems more semantically correct... but I might be wrong of course.

I don't really see why it's more correct, I think it just feels more
natural to all of us because you started defining core bundles on top
and userland bundles on the bottom, but that's just a matter of habit.

As there is nothing in the context that could make you guess in which
way the override is gonna work, so I think following the
routing/autoloading rules makes more sense.

Ok, I think I have an idea that will remove the need for properly ordering the bundles in the kernel class.

Instead of having a getName() method, I will add a getParent() one. So, inheritance will be explicit, and the kernel should be able to figure out the order itself.

If it works, and I don't see why it won't, I will commit the change this afternoon.

Fabien

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