Fully Qualified Name: | Zend\Console\Prompt\PromptInterface |
Name | Description | Defined By |
---|---|---|
getConsole() | Return console adapter to use when showing prompt. | PromptInterface |
getLastResponse() | Return last answer to this prompt. | PromptInterface |
setConsole() | Set console adapter to use when showing prompt. | PromptInterface |
show() | Show the prompt to user and return the answer. | PromptInterface |
Return console adapter to use when showing prompt.
Returns: \ConsoleAdapter
Return last answer to this prompt.
Returns: mixed
Set console adapter to use when showing prompt.
Parameter Name | Type | Description |
---|---|---|
$adapter | \ConsoleAdapter |
Returns: void
Show the prompt to user and return the answer.
Returns: mixed