Total Complexity | 9 |
Total Lines | 62 |
Duplicated Lines | 0 % |
Coverage | 36.36% |
Changes | 0 |
1 | <?php |
||
8 | class BinLogCurrent implements JsonSerializable |
||
9 | { |
||
10 | /** |
||
11 | * @var int |
||
12 | */ |
||
13 | private $binLogPosition; |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | private $binFileName; |
||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $gtid; |
||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $mariaDbGtid; |
||
26 | |||
27 | public function getBinLogPosition(): int |
||
28 | { |
||
29 | return $this->binLogPosition; |
||
30 | } |
||
31 | |||
32 | 57 | public function setBinLogPosition(int $binLogPosition): void |
|
33 | { |
||
34 | 57 | $this->binLogPosition = $binLogPosition; |
|
35 | 57 | } |
|
36 | |||
37 | 1 | public function getBinFileName(): string |
|
38 | { |
||
39 | 1 | return $this->binFileName; |
|
40 | } |
||
41 | |||
42 | 57 | public function setBinFileName(string $binFileName): void |
|
43 | { |
||
44 | 57 | $this->binFileName = $binFileName; |
|
45 | 57 | } |
|
46 | |||
47 | public function getGtid(): string |
||
48 | { |
||
49 | return $this->gtid; |
||
50 | } |
||
51 | |||
52 | public function setGtid(string $gtid): void |
||
53 | { |
||
54 | $this->gtid = $gtid; |
||
55 | } |
||
56 | |||
57 | public function getMariaDbGtid(): string |
||
58 | { |
||
59 | return $this->mariaDbGtid; |
||
60 | } |
||
61 | |||
62 | public function setMariaDbGtid(string $mariaDbGtid): void |
||
63 | { |
||
64 | $this->mariaDbGtid = $mariaDbGtid; |
||
65 | } |
||
66 | |||
67 | public function jsonSerialize() |
||
70 | } |
||
71 | } |