2 use Liuggio\StatsdClient\Entity\StatsdData
;
3 use Liuggio\StatsdClient\Factory\StatsdDataFactoryInterface
;
6 * Mediawiki adaptation of Statsd data factory.
8 interface MediawikiStatsdDataFactory
extends StatsdDataFactoryInterface
{
10 * Check whether this data factory has any data.
13 public function hasData();
16 * Return data from the factory.
17 * @return StatsdData[]
19 public function getData();
22 * Set collection enable status.
23 * @param bool $enabled Will collection be enabled?
26 public function setEnabled( $enabled );