ProgressMeter
in package
Helper class for displaying progress meter
Tags
Table of Contents
Properties
- $counters : array<string, array<int, int>>
Methods
- format() : string
- increment() : int
- init() : void
Properties
$counters
private
static array<string, array<int, int>>
$counters
= []
Methods
format()
public
static format(string|null $id, int|null $n, string $format) : string
Parameters
- $id : string|null
- $n : int|null
- $format : string
Return values
stringincrement()
public
static increment(string|null $id[, string $format = '' ]) : int
Parameters
- $id : string|null
- $format : string = ''
Return values
intinit()
public
static init(string $id, int $max) : void
Parameters
- $id : string
- $max : int