From e86a18e962f762b8bdef66171f38d5ede5b96523 Mon Sep 17 00:00:00 2001 From: Maxime Helias Date: Thu, 8 Aug 2019 10:01:14 +0200 Subject: [PATCH] [Console] Missing helper question --- components/console/helpers/questionhelper.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/console/helpers/questionhelper.rst b/components/console/helpers/questionhelper.rst index 997e56daf33..aeee9dbe30b 100644 --- a/components/console/helpers/questionhelper.rst +++ b/components/console/helpers/questionhelper.rst @@ -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 {