Skip to content

Loading…

DDC-1245: Check if Entity implements EventSubscriber to allow access to EM #1854

Closed
doctrinebot opened this Issue · 2 comments

1 participant

@doctrinebot

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.

@doctrinebot

Comment created by @FabioBatSilva:

fixed : 71a68a5

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.4 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.