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 | * @deprecated since 1.45, use https://www.mediawiki.org/wiki/Manual:Stats |
| 14 | * @author Addshore |
| 15 | */ |
| 16 | interface StatsdAwareInterface { |
| 17 | |
| 18 | /** |
| 19 | * Sets a StatsdDataFactory instance on the object |
| 20 | * |
| 21 | * @param StatsdDataFactoryInterface $statsFactory |
| 22 | * @return null |
| 23 | */ |
| 24 | public function setStatsdDataFactory( StatsdDataFactoryInterface $statsFactory ); |
| 25 | |
| 26 | } |
| 27 | |
| 28 | /** @deprecated class alias since 1.43 */ |
| 29 | class_alias( StatsdAwareInterface::class, 'StatsdAwareInterface' ); |