On Wed, 2 Feb 2011 12:55:58 -0300, Gustavo Adrian
<[email protected]> wrote:
> Ok I managed to use the inheritance feature for bundles (using the
> getParent
> method). But the problem, at least with my use case, is that it seems
that
> a
> Bundle can't have multiple childs.
> 
> Is there a plan to add this feature in the future?
> 
> 
> Thanks in advance.
> 

I don't see how it could work: when accessing a template of a bundle, the
kernel will first try in the child bundle and then fallback to the bundle
if it is not overriden. How would you handle the case of multiple childs to
choose the one that overrides the template ?

Btw, supporting multiple parents seems quite easy but it is not the case
currently.

-- 
Christophe | Stof

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