You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I can't use getHelperSet() method because I create a separate class that will be autowired by PHP-DI. So now, if I want to use getHelperSet() I have to use the old way to attach a command, by attaching a function to $app->command() second argument rather than attaching my separated class. Is there any workaround for this situation?
The text was updated successfully, but these errors were encountered:
I'd like to find a better solution too. Maybe the silly-php-di package could preconfigure the Application class? (I cannot inject the HelperSet using PHP-DI because it needs to be constructed using the Input and Output)
Currently, I can't use
getHelperSet()
method because I create a separate class that will be autowired by PHP-DI. So now, if I want to usegetHelperSet()
I have to use the old way to attach a command, by attaching a function to$app->command()
second argument rather than attaching my separated class. Is there any workaround for this situation?The text was updated successfully, but these errors were encountered: