Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Closed
Description
The documentation is missing an example how to test a command that uses askConfirmation() or ask().
/** @var \Symfony\Component\Console\Helper\DialogHelper $dialog */$dialog =$this->getHelperSet()->get('dialog');if (!$dialog->askConfirmation(..)) {// Do something.}
As this is a really useful feature and not to hard document (I guess), I suggest adding this for Symfony Docs Hack Day.