summaryrefslogtreecommitdiff
path: root/www/wiki/includes/libs/stats/StatsdAwareInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/includes/libs/stats/StatsdAwareInterface.php')
-rw-r--r--www/wiki/includes/libs/stats/StatsdAwareInterface.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/www/wiki/includes/libs/stats/StatsdAwareInterface.php b/www/wiki/includes/libs/stats/StatsdAwareInterface.php
new file mode 100644
index 00000000..b0b941ae
--- /dev/null
+++ b/www/wiki/includes/libs/stats/StatsdAwareInterface.php
@@ -0,0 +1,21 @@
+<?php
+
+use Liuggio\StatsdClient\Factory\StatsdDataFactoryInterface;
+
+/**
+ * Describes a Statsd aware interface
+ *
+ * @since 1.27
+ * @author Addshore
+ */
+interface StatsdAwareInterface {
+
+ /**
+ * Sets a StatsdDataFactory instance on the object
+ *
+ * @param StatsdDataFactoryInterface $statsFactory
+ * @return null
+ */
+ public function setStatsdDataFactory( StatsdDataFactoryInterface $statsFactory );
+
+}