\Status

Created by PhpStorm.

User: inhere Date: 2017-12-21 Time: 10:02

Summary

Methods
Properties
Constants
clearLine()
spinner()
hide()
prompt()
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

clearLine()

clearLine() 

spinner()

spinner() 

Spinner that updates every call up to 4 per second

.*.

hide()

hide(boolean  $hidden = true) 

Uses `stty` to hide input/output completely.

Parameters

boolean $hidden

Will hide/show the next data. Defaults to true.

prompt()

prompt(string  $prompt, boolean  $masked = false, integer  $limit = 100) : string

Prompts the user for input. Optionally masking it.

Parameters

string $prompt

The prompt to show the user

boolean $masked

If true, the users input will not be shown. e.g. password input

integer $limit

The maximum amount of input to accept

Returns

string