summaryrefslogtreecommitdiff
path: root/vendor/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Sender/SenderInterface.php
blob: 8dc8fd3a0f3eaf9405f8f999bb91434fde36c3ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php

namespace Liuggio\StatsdClient\Sender;

Interface SenderInterface
{
    /**
     * @abstract
     * @return mixed
     */
    function open();

    /**
     * @abstract
     *
     * @param        $handle
     * @param string $string
     * @param null   $length
     *
     * @return mixed
     */
    function write($handle, $string, $length = null);

    /**
     * @abstract
     *
     * @param $handle
     *
     * @return mixed
     */
    function close($handle);
}