Skip to content

Commit e86a18e

Browse files
committed
[Console] Missing helper question
1 parent 5ed2754 commit e86a18e

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)