helpers\BaseConsole input()

input() public static method

Asks the user for input. Ends when the user types a carriage return (PHP_EOL). Optionally, It also provides a prompt.

public static string input ( $prompt = null )
$prompt string

The prompt to display before waiting for input (optional)

return string

The user's input

doc_Yii
2016-10-30 17:04:34
Comments
Leave a Comment

Please login to continue.