MediaWiki
master
FormatterInterface.php
Go to the documentation of this file.
1
<?php
20
namespace
Wikimedia\Stats\Formatters
;
21
22
use
Wikimedia\Stats\Metrics\MetricInterface
;
23
30
interface
FormatterInterface
{
38
public
function
getFormattedSamples
(
string
$prefix,
MetricInterface
$metric ): array;
39
}
Wikimedia\Stats\Formatters\FormatterInterface
Metrics Formatter Interface.
Definition
FormatterInterface.php:30
Wikimedia\Stats\Formatters\FormatterInterface\getFormattedSamples
getFormattedSamples(string $prefix, MetricInterface $metric)
Renders metric to line format.
Wikimedia\Stats\Metrics\MetricInterface
Metric Interface.
Definition
MetricInterface.php:31
Wikimedia\Stats\Formatters
Definition
DogStatsdFormatter.php:22
includes
libs
Stats
Formatters
FormatterInterface.php
Generated on Thu Oct 3 2024 16:24:42 for MediaWiki by
1.10.0