\Inhere\Console\Component\InteractPassword

Class Password

Summary

Methods
Properties
Constants
ask()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

ask()

ask(string  $prompt = 'Enter Password:') : string

Interactively prompts for input without echoing to the terminal.

Requires a bash shell or Windows and won't work with safe_mode settings (Uses shell_exec)

Parameters

string $prompt

Throws

\RuntimeException

Returns

string