__construct()
getAllowEmpty()
getAllowedChars()
getConsole()
getEcho()
getIgnoreCase()
getLastResponse()
getNoChar()
getPromptText()
getYesChar()
prompt()
setAllowEmpty()
setAllowedChars()
setConsole()
setEcho()
setIgnoreCase()
setNoChar()
setPromptText()
setYesChar()
show()
$allowEmpty
$allowedChars
$console
$echo
$ignoreCase
$lastResponse
$noChar
$promptText
$yesChar
__construct(string $promptText, string $yesChar, string $noChar)
stringThe prompt text to display in console
stringThe "yes" key (defaults to Y)
stringThe "no" key (defaults to N)
getAllowEmpty() : bool
| inherited_from | \Zend\Console\Prompt\Char::getAllowEmpty() | 
|---|
boolgetAllowedChars() : string
| inherited_from | \Zend\Console\Prompt\Char::getAllowedChars() | 
|---|
stringgetConsole() : \Zend\Console\Adapter\AdapterInterface
| inherited_from | \Zend\Console\Prompt\AbstractPrompt::getConsole() | 
|---|---|
| inherited_from | \Zend\Console\Prompt\Char::getConsole() | 
getEcho() : bool
| inherited_from | \Zend\Console\Prompt\Char::getEcho() | 
|---|
boolgetIgnoreCase() : bool
| inherited_from | \Zend\Console\Prompt\Char::getIgnoreCase() | 
|---|
boolgetLastResponse() : mixed
| inherited_from | \Zend\Console\Prompt\AbstractPrompt::getLastResponse() | 
|---|---|
| inherited_from | \Zend\Console\Prompt\Char::getLastResponse() | 
mixedgetNoChar() : string
stringgetPromptText() : string
| inherited_from | \Zend\Console\Prompt\Char::getPromptText() | 
|---|
stringgetYesChar() : string
stringprompt() : mixed
This is a convenience method for creating statically creating prompts, i.e.:
 $name = Zend\Console\Prompt\Line::prompt("Enter your name: ");
| inherited_from | \Zend\Console\Prompt\AbstractPrompt::prompt() | 
|---|---|
| inherited_from | \Zend\Console\Prompt\Char::prompt() | 
\Zend\Console\Exception\BadMethodCallException | 
|---|
mixedsetAllowEmpty(bool $allowEmpty)
| inherited_from | \Zend\Console\Prompt\Char::setAllowEmpty() | 
|---|
bool
setAllowedChars(string $allowedChars)
| inherited_from | \Zend\Console\Prompt\Char::setAllowedChars() | 
|---|
string
setConsole(\Zend\Console\Adapter\AdapterInterface $adapter) : void
| inherited_from | \Zend\Console\Prompt\AbstractPrompt::setConsole() | 
|---|---|
| inherited_from | \Zend\Console\Prompt\Char::setConsole() | 
setEcho(bool $echo)
| inherited_from | \Zend\Console\Prompt\Char::setEcho() | 
|---|
bool
setIgnoreCase(bool $ignoreCase)
| inherited_from | \Zend\Console\Prompt\Char::setIgnoreCase() | 
|---|
bool
setNoChar(string $noChar)
string
setPromptText(string $promptText)
| inherited_from | \Zend\Console\Prompt\Char::setPromptText() | 
|---|
string
setYesChar(string $yesChar)
string
show() : bool
bool$allowEmpty : bool
| inherited_from | \Zend\Console\Prompt\Char::$$allowEmpty | 
|---|
$allowedChars : string
$console : \Zend\Console\Adapter\AdapterInterface
| inherited_from | \Zend\Console\Prompt\AbstractPrompt::$$console | 
|---|---|
| inherited_from | \Zend\Console\Prompt\Char::$$console | 
$echo : bool
| inherited_from | \Zend\Console\Prompt\Char::$$echo | 
|---|
$ignoreCase : bool
$lastResponse : mixed
| inherited_from | \Zend\Console\Prompt\AbstractPrompt::$$lastResponse | 
|---|---|
| inherited_from | \Zend\Console\Prompt\Char::$$lastResponse | 
$noChar : string
$promptText : string
$yesChar : string