]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blob - vendor/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Sender/SenderInterface.php
MediaWiki 1.30.2
[autoinstallsdev/mediawiki.git] / vendor / liuggio / statsd-php-client / src / Liuggio / StatsdClient / Sender / SenderInterface.php
1 <?php
2
3 namespace Liuggio\StatsdClient\Sender;
4
5 Interface SenderInterface
6 {
7     /**
8      * @abstract
9      * @return mixed
10      */
11     function open();
12
13     /**
14      * @abstract
15      *
16      * @param        $handle
17      * @param string $string
18      * @param null   $length
19      *
20      * @return mixed
21      */
22     function write($handle, $string, $length = null);
23
24     /**
25      * @abstract
26      *
27      * @param $handle
28      *
29      * @return mixed
30      */
31     function close($handle);
32 }