-
Notifications
You must be signed in to change notification settings - Fork 3
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
ac0c6c6
commit c02630a
Showing
1 changed file
with
6 additions
and
7 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