Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.8k
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I have been lately usinginvokable commands in my The only limitation I have found so far is that I'm using the I wanted to know if there are any plans to provide alternative ways to lazy-load commands without having to extend |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 2 replies
-
Hey@acelaya, just wondering what kind of error you're seeing in this case.. when an invokable command is defined without extending since 7.4, you can also get the invokable command class using |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I'm assuming this happens when using Symfony's default dependency injection container? I'm using a different PSR-11 container, so I guess that's the reason. I basically get a runtime
Could you point me to the place where this wrapping is done? I might be able to implement a small piece of logic doing something similar by implementing a custom command loader. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Yes, everything is in AddConsoleCommandPass |
BetaWas this translation helpful?Give feedback.
All reactions
❤️ 1