-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Use Dependency Injection in register_commands.php #43203
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
|
There is a service named Line 979 in e224432
Maybe it can be renamed to the class name so that DI can be used? |
Signed-off-by: Côme Chilliet <[email protected]>
Signed-off-by: Côme Chilliet <[email protected]>
Signed-off-by: Côme Chilliet <[email protected]>
Signed-off-by: Côme Chilliet <[email protected]>
…service name Signed-off-by: Côme Chilliet <[email protected]>
Signed-off-by: Côme Chilliet <[email protected]>
bb8c9e2 to
0e19317
Compare
Signed-off-by: Côme Chilliet <[email protected]>
I pushed that solution, I think it should be fine. |
Signed-off-by: Côme Chilliet <[email protected]>
ChristophWurst
left a comment
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.
🧹😎
Summary
Use DI for all commands from Core to stop relying on deprecated methods.
Checklist