Skip to content

Commit e9cde48

Browse files
committed
Merge branch '4.4'
* 4.4: [Console] Missing helper question
2 parents 538e9a9 + a74f2c7 commit e9cde48

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)