-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
ConsolehasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Description
The example does not work, since there is no shown getApplication
method:
https://github.com/symfony/symfony-docs/blob/7.3/console/calling_commands.rst?plain=1#L40
It used to "work" before, as the CreateUserCommand
used to extend Command
:
0546a2c#r165314121
I don't know how to fix the example without extending Command
. Is there a way to inject the Application somehow?
I would suggest to revert this example a bit back to "old style" by extending Command
again. I can do the PR.
Metadata
Metadata
Assignees
Labels
ConsolehasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.