vendor/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Sender/SenderInterface.php
raw| 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 | } |