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 5ed2754 commit e86a18eCopy full SHA for e86a18e
components/console/helpers/questionhelper.rst
@@ -188,6 +188,8 @@ provide a callback function to dynamically generate suggestions::
188
// ...
189
public function execute(InputInterface $input, OutputInterface $output)
190
{
191
+ $helper = $this->getHelper('question');
192
+
193
// This function is called whenever the input changes and new
194
// suggestions are needed.
195
$callback = function (string $userInput): array {
0 commit comments