Jira issue originally created by user @beberlei:
There is often the feature request that the EM should be accessible in entities when events are triggered.
We should allow entities or repositories to implement EventSubscriber and trigger events accordingly, or find some other scheme to do so.
Currently event subscribers are called for ALL entities, this could lead to a performance increase when only triggering listeners for entities that need them.
Comment created by @FabioBatSilva:
fixed : 71a68a5
Issue was closed with resolution "Fixed"