File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -461,8 +461,10 @@ command:
461
461
This method is executed after ``initialize() `` and before ``execute() ``.
462
462
Its purpose is to check if some of the options/arguments are missing
463
463
and interactively ask the user for those values. This is the last place
464
- where you can ask for missing options/arguments. After this command,
465
- missing options/arguments will result in an error.
464
+ where you can ask for missing required options/arguments, this method is
465
+ called before validating the input.
466
+ Note that it will not be called when the command is run without interaction
467
+ (e.g. when passing the ``--no-interaction `` global option flag).
466
468
467
469
:method: `Symfony\\ Component\\ Console\\ Command\\ Command::execute ` *(required) *
468
470
This method is executed after ``interact() `` and ``initialize() ``.
You can’t perform that action at this time.
0 commit comments