Total Complexity | 4 |
Total Lines | 44 |
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 | 2 | function __construct(\Plasma\Drivers\MySQL\ProtocolParser $parser, string &$buffer) { |
|
35 | 2 | } |
|
36 | |||
37 | /** |
||
38 | * Get the parser. |
||
39 | * @return \Plasma\Drivers\MySQL\ProtocolParser |
||
40 | */ |
||
41 | 2 | function getParser(): \Plasma\Drivers\MySQL\ProtocolParser { |
|
43 | } |
||
44 | |||
45 | /** |
||
46 | * Get the buffer. |
||
47 | * @return string |
||
48 | */ |
||
49 | 2 | function &getBuffer(): string { |
|
51 | } |
||
52 | |||
53 | /** |
||
54 | * Set the buffer. |
||
55 | * @param string $buffer |
||
56 | * @return void |
||
57 | */ |
||
58 | 2 | function setBuffer(string $buffer): void { |
|
62 |