Debian Codegraph @

vendor/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Entity/StatsdDataInterface.php

raw
1 <?php
2
3 namespace Liuggio\StatsdClient\Entity;
4
5 interface StatsdDataInterface
6 {
7 CONST STATSD_METRIC_TIMING = 'ms';
8 CONST STATSD_METRIC_GAUGE = 'g';
9 CONST STATSD_METRIC_SET = 's';
10 CONST STATSD_METRIC_COUNT = 'c';
11
12 /**
13 * @abstract
14 * @return string
15 */
16 function getKey();
17
18 /**
19 * @abstract
20 * @return mixed
21 */
22 function getValue();
23
24 /**
25 * @abstract
26 * @return string
27 */
28 function getMetric();
29
30 /**
31 * @abstract
32 * @return string
33 */
34 function getMessage();
35
36 /**
37 * @abstract
38 * @return float
39 */
40 function getSampleRate();
41
42 /**
43 * @abstract
44 * @return string
45 */
46 function __toString();
47 }