StageLine
Read onlyYes
FinalYes
Methods
- __construct() : mixed
- counted() : string
- duration() : string|null
- exactCount() : string
- filesWritten() : int|null
- human() : string
- key() : string
- label() : string
- memory() : string
- percent() : int|null
- perSecond() : null|float
- rate() : string|null
- readCompleted() : bool
- seconds() : string
- shortCount() : string
- started() : bool
- subject() : string|null
- unitName() : string
Methods
__construct()
public
__construct(StageProgress $stage, Pulse $pulse) : mixed
Parameters
- $stage : StageProgress
- $pulse : Pulse
counted()
public
static counted(int $count, ProgressUnit $unit) : string
Parameters
- $count : int
- $unit : ProgressUnit
Return values
stringduration()
public
duration() : string|null
Return values
string|nullexactCount()
public
exactCount() : string
Return values
stringfilesWritten()
public
static filesWritten(Pulse $pulse) : int|null
Parameters
- $pulse : Pulse
Return values
int|nullhuman()
public
static human(float $value) : string
Parameters
- $value : float
Return values
stringkey()
public
static key(StageProgress $stage, int $position) : string
Parameters
- $stage : StageProgress
- $position : int
Return values
stringlabel()
public
label() : string
Return values
stringmemory()
public
static memory(int $bytes) : string
Parameters
- $bytes : int
Return values
stringpercent()
public
percent() : int|null
Return values
int|nullperSecond()
public
perSecond() : null|float
Return values
null|float —null for groups and files, a stage not started, and one too short for a rate to mean anything
rate()
public
rate() : string|null
Return values
string|nullreadCompleted()
public
static readCompleted(Pulse $pulse) : bool
Parameters
- $pulse : Pulse
Return values
boolseconds()
public
static seconds(float $seconds) : string
Parameters
- $seconds : float
Return values
stringshortCount()
public
shortCount() : string
Return values
stringstarted()
public
started() : bool
Return values
boolsubject()
public
subject(int $width) : string|null
Parameters
- $width : int
Return values
string|nullunitName()
public
static unitName(int $count, ProgressUnit $unit) : string
Parameters
- $count : int
- $unit : ProgressUnit