Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions components/console/helpers/questionhelper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ provide a callback function to dynamically generate suggestions::
// ...
public function execute(InputInterface $input, OutputInterface $output)
{
$helper = $this->getHelper('question');

// This function is called whenever the input changes and new
// suggestions are needed.
$callback = function (string $userInput): array {
Expand Down