-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add lazy event listener registration
- Add `LazyEventEmitter` which extends `League\Event\Emitter`. - Use new `TransformToLazyEventListeners` rector rule to transform event listeners registration to lazy variant in your own modules. - Change the registration of events in modules to use `LazyEventEmitter`. remp/crm#2116
- Loading branch information
Matus Kalafut
committed
Sep 27, 2023
1 parent
fe10217
commit 8785541
Showing
1 changed file
with
12 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters