We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9439177 commit c48d595Copy full SHA for c48d595
components/console/helpers/questionhelper.rst
@@ -212,14 +212,15 @@ convenient for passwords::
212
On Windows systems, this ``stty`` command may generate gibberish output and
213
mangle the input text. If that's your case, disable it with this command::
214
215
+ use Symfony\Component\Console\Helper\QuestionHelper;
216
use Symfony\Component\Console\Question\ChoiceQuestion;
217
218
// ...
219
public function execute(InputInterface $input, OutputInterface $output)
220
{
221
222
$helper = $this->getHelper('question');
- $helper->disableStty();
223
+ QuestionHelper::disableStty();
224
225
226
}
0 commit comments