\Inhere\Console\Component\ProgressSimpleTextBar

Class SimpleTextBar

...

Summary

Methods
Properties
Constants
getSpeed()
setSpeed()
display()
gen()
No public properties found
No constants found
No protected methods found
$speed
N/A
No private methods found
No private properties found
N/A

Properties

$speed

$speed : integer

Type

integer — Speed value. allow 1 - 10

Methods

getSpeed()

getSpeed() : integer

Returns

integer

setSpeed()

setSpeed(integer  $speed) 

Parameters

integer $speed

display()

display() 

gen()

gen(integer  $total, string  $msg, string  $doneMsg = '') : \Generator

Render a simple text progress bar by 'yield'

Parameters

integer $total
string $msg
string $doneMsg

Returns

\Generator