Class QuestionHelper
The QuestionHelper class provides helpers to interact with the user.
- Symfony\Component\Console\Helper\Helper implements Symfony\Component\Console\Helper\HelperInterface
- Symfony\Component\Console\Helper\QuestionHelper
Direct known subclasses
Symfony\Component\Console\Helper\SymfonyQuestionHelper
Namespace: Symfony\Component\Console\Helper
Author: Fabien Potencier fabien@symfony.com
Located at Helper/QuestionHelper.php
Author: Fabien Potencier fabien@symfony.com
Located at Helper/QuestionHelper.php
public
string
|
#
ask(
Asks a question to the user. |
public
|
#
setInputStream( resource $stream )
Sets the input stream to read from when interacting with the user. |
public
resource
|
|
public
string
|
|
public
boolean|mixed|null|string
|
#
doAsk(
Asks the question to the user. |
protected
|
#
writePrompt(
Outputs the question prompt. |
protected
|
#
writeError(
Outputs an error message. |
formatMemory(),
formatTime(),
getHelperSet(),
setHelperSet(),
strlen(),
strlenWithoutDecoration()
|
$helperSet
|