Hi Nils,

IMO, the proper way to achieve your "multiple inheritance" setup is to
not use Bundle inheritance at all. Use events instead.

Events allow you to flexibly add functionality in specific parts of
your code. The good thing is that the original code does not depend on
whether you react to the event or not. The Forum does not care whether
a Poll is included or not - it will work correctly either way.

Of course, your Poll bundle depends on the Forum bundle being
installed (*hint* bundle dependencies ;) *hint*)

Bernhard

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