Show a prompt
Return type: | void |
---|
Return last answer to this prompt.
Return type: | mixed |
---|
Return console adapter to use when showing prompt.
Return type: | ConsoleAdapter |
---|
Set console adapter to use when showing prompt.
Parameters: | ConsoleAdapter – |
---|
Create an instance of this prompt, show it and return response.
This is a convenience method for creating statically creating prompts, i.e.:
$name = ZendConsolePromptLine::prompt(“Enter your name: ”);
Return type: | mixed |
---|---|
Throws : | ExceptionBadMethodCallException |