MediaWiki 1.42.1
|
Class representation of normalized metric specifications. More...
Public Member Functions | |
__construct (array $spec) | |
Public Attributes | |
float int | $resolution |
array< string, SequenceSpec > | $sequences |
Sequences in ascending order of expiry. | |
string | $type |
const | DEFAULT_RESOLUTION = 1 |
The default (value axis) resolution. | |
Class representation of normalized metric specifications.
Definition at line 10 of file MetricSpec.php.
Wikimedia\WRStats\MetricSpec::__construct | ( | array | $spec | ) |
array | $spec |
Definition at line 24 of file MetricSpec.php.
References Wikimedia\WRStats\MetricSpec\$sequences, and Wikimedia\WRStats\MetricSpec\DEFAULT_RESOLUTION.
float int Wikimedia\WRStats\MetricSpec::$resolution |
Definition at line 17 of file MetricSpec.php.
array<string,SequenceSpec> Wikimedia\WRStats\MetricSpec::$sequences |
Sequences in ascending order of expiry.
Definition at line 19 of file MetricSpec.php.
Referenced by Wikimedia\WRStats\MetricSpec\__construct().
string Wikimedia\WRStats\MetricSpec::$type |
Definition at line 15 of file MetricSpec.php.
const Wikimedia\WRStats\MetricSpec::DEFAULT_RESOLUTION = 1 |
The default (value axis) resolution.
Definition at line 12 of file MetricSpec.php.
Referenced by Wikimedia\WRStats\MetricSpec\__construct().