-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Mention lazy loading for Doctrine event listeners #8080
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Would have saved me two hours if I had known about this feature before.
|
||
.. note:: | ||
|
||
Marking an event listener as ``lazy`` has nothing to do with lazy serivce |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo serivce
-> service
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for that PR!
|
||
use AppBundle\EventListener\SearchIndexer; | ||
use AppBundle\EventListener\SearchIndexer2; | ||
use AppBundle\EventListener\SearchIndexerSubscriber; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems there's no need for those two last use statements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@HeahDude Removed
Thank you @mpdude. |
Would have saved me two hours if I had known about this feature before.