Zend Framework
3.0
|
Public Member Functions | |
__construct ($promptText= 'Password: ', $echo=false) | |
Ask the user for a password. | |
show () | |
Show the prompt to user and return a string. | |
Public Member Functions inherited from AbstractPrompt | |
getLastResponse () | |
Return last answer to this prompt. | |
getConsole () | |
Return console adapter to use when showing prompt. | |
setConsole (ConsoleAdapter $adapter) | |
Set console adapter to use when showing prompt. | |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractPrompt | |
static | prompt () |
Create an instance of this prompt, show it and return response. | |
Protected Attributes inherited from AbstractPrompt | |
$console | |
$lastResponse | |
__construct | ( | $promptText = 'Password: ' , |
|
$echo = false |
|||
) |
Ask the user for a password.
string | $promptText | The prompt text to display in console |
bool | $echo | Display the selection after user presses key |
show | ( | ) |
Show the prompt to user and return a string.
Read characters from console
Implements PromptInterface.