Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace Wikimedia\Stats; |
4 | |
5 | use Liuggio\StatsdClient\Factory\StatsdDataFactoryInterface; |
6 | |
7 | /** |
8 | * Describes a Statsd aware interface |
9 | * |
10 | * @stable to implement |
11 | * |
12 | * @since 1.27 |
13 | * @author Addshore |
14 | */ |
15 | interface StatsdAwareInterface { |
16 | |
17 | /** |
18 | * Sets a StatsdDataFactory instance on the object |
19 | * |
20 | * @param StatsdDataFactoryInterface $statsFactory |
21 | * @return null |
22 | */ |
23 | public function setStatsdDataFactory( StatsdDataFactoryInterface $statsFactory ); |
24 | |
25 | } |
26 | |
27 | /** @deprecated class alias since 1.43 */ |
28 | class_alias( StatsdAwareInterface::class, 'StatsdAwareInterface' ); |