mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #12151] Added support for an external ListenersInvoker. #13523
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/12151
State: closed
Merged: No
Hello
I ran into a hard time trying to implement Dependency Injection on listeners in the Doctrine ORM i use for my own project,
but i found a solution, so i thought i would share it upstream 🙂
It is made so that you can on your configuration can provide a object implementing a new interface and through that you are able to make your own code that runs the listeners.
I am still doing some local testing of this feature on my personal project.
If this feature is not needed/wanted upstream feel free to close this PR, No Hard Feelings 🙂
Hope this helps 🙂