Skip to content

Commit 6ae6980

Browse files
committed
bug #12120 [Console] Missing helper question (maxhelias)
This PR was merged into the 4.3 branch. Discussion ---------- [Console] Missing helper question Tell me if I need to change the target branch 😉 Commits ------- e86a18e [Console] Missing helper question
2 parents ca902aa + e86a18e commit 6ae6980

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/console/helpers/questionhelper.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ provide a callback function to dynamically generate suggestions::
188188
// ...
189189
public function execute(InputInterface $input, OutputInterface $output)
190190
{
191+
$helper = $this->getHelper('question');
192+
191193
// This function is called whenever the input changes and new
192194
// suggestions are needed.
193195
$callback = function (string $userInput): array {

0 commit comments

Comments
 (0)