Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
16 | class ProtocolOnNextCaller { |
||
17 | /** |
||
18 | * @var \Plasma\Drivers\MySQL\ProtocolParser |
||
19 | */ |
||
20 | protected $parser; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $buffer; |
||
26 | |||
27 | /** |
||
28 | * Constructor. |
||
29 | * @param \Plasma\Drivers\MySQL\ProtocolParser $parser |
||
30 | * @param string $buffer |
||
31 | */ |
||
32 | 1 | function __construct(\Plasma\Drivers\MySQL\ProtocolParser $parser, string &$buffer) { |
|
35 | 1 | } |
|
36 | |||
37 | /** |
||
38 | * Get the parser. |
||
39 | * @return \Plasma\Drivers\MySQL\ProtocolParser |
||
40 | */ |
||
41 | 1 | function getParser(): \Plasma\Drivers\MySQL\ProtocolParser { |
|
43 | } |
||
44 | |||
45 | /** |
||
46 | * Get the buffer. |
||
47 | * @return string |
||
48 | */ |
||
49 | 1 | function &getBuffer(): string { |
|
53 |