[DDC-2351] Entity Listener vs. Event Listener Created: 15/Mar/13 Updated: 15/Mar/13
|Project:||Doctrine 2 - ORM|
|Affects Version/s:||Git Master|
|Reporter:||Fabian Spillner||Assignee:||Fabio B. Silva|
Entity Listener and Event Listener don't get same events. An example is the onFlush event, which Entity Listener doesn't get. Why are both listeners receiving different events and not same events?
For consistency I'd like to see that both get same events - if I understand the purpose of Entity Listener correctly: it should be an alternative to Event Listener with same functionality but is bound to an entity.
|Comment by Benjamin Eberlei [ 15/Mar/13 ]|
onFlush and postFlush should be propagated to entity listeners as well