Flow PHP

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
string

duration()

public duration() : string|null
Return values
string|null

exactCount()

public exactCount() : string
Return values
string

filesWritten()

public static filesWritten(Pulse $pulse) : int|null
Parameters
$pulse : Pulse
Return values
int|null

human()

public static human(float $value) : string
Parameters
$value : float
Return values
string

key()

public static key(StageProgress $stage, int $position) : string
Parameters
$stage : StageProgress
$position : int
Return values
string

label()

public label() : string
Return values
string

memory()

public static memory(int $bytes) : string
Parameters
$bytes : int
Return values
string

percent()

public percent() : int|null
Return values
int|null

perSecond()

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|null

readCompleted()

public static readCompleted(Pulse $pulse) : bool
Parameters
$pulse : Pulse
Return values
bool

seconds()

public static seconds(float $seconds) : string
Parameters
$seconds : float
Return values
string

shortCount()

public shortCount() : string
Return values
string

started()

public started() : bool
Return values
bool

subject()

public subject(int $width) : string|null
Parameters
$width : int
Return values
string|null

unitName()

public static unitName(int $count, ProgressUnit $unit) : string
Parameters
$count : int
$unit : ProgressUnit
Return values
string
On this page

Search results