MediaWiki REL1_40
Wikimedia\Stats\Sample Class Reference

Sample Data Class. More...

Public Member Functions

 __construct (array $labelValues, float $value)
 
 getLabelValues ()
 
 getValue ()
 

Detailed Description

Sample Data Class.

A container for a metric sample to be passed to the rendering function.

Author
Cole White
Since
1.41

Definition at line 32 of file Sample.php.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Stats\Sample::__construct ( array $labelValues,
float $value )
Parameters
string[]$labelValues
float$value

Definition at line 44 of file Sample.php.

Member Function Documentation

◆ getLabelValues()

Wikimedia\Stats\Sample::getLabelValues ( )
Returns
string[]

Definition at line 50 of file Sample.php.

◆ getValue()

Wikimedia\Stats\Sample::getValue ( )
Returns
float

Definition at line 55 of file Sample.php.


The documentation for this class was generated from the following file: