On 1/20/11 11:45 AM, Jordi Boggiano wrote:
On Thu, Jan 20, 2011 at 11:18 AM, Fabien Potencier
<[email protected]>  wrote:
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.

Sounds great, but what happens with bundles having conflicting names
then if you try to get an asset (Resources/*) from it?

Also if I got this right, when you get an asset it tries in the
child-most bundle, and then it will try in the parent bundle, then the
parent, etc. until found?

What about two bundles that define the same parent, I guess order
still applies there (sorry:)

Here is my implementation, with all the answers to your questions in the commit message:

https://github.com/fabpot/symfony/commit/b1336d5a45cad97ee39c538f5af0274bf7b9d8c5

Fabien

Cheers


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