class Progress

命令行工具-进度条组件

Methods

__construct()

Progress constructor.

int
getPercent()

获取百分比

$this
start()

开始任务

$this
increment( int $value = 1)

进入+ x

$this
success()

任务完成

Details

at line line 38
__construct()

Progress constructor.

at line line 48
int getPercent()

获取百分比

Return Value

int

at line line 58
$this start()

开始任务

Return Value

$this

at line line 72
$this increment( int $value = 1)

进入+ x

Parameters

int $value

Return Value

$this

at line line 100
$this success()

任务完成

Return Value

$this