| Total Complexity | 9 |
| Total Lines | 63 |
| Duplicated Lines | 0 % |
| Coverage | 44.44% |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 8 | class BinLogCurrent implements JsonSerializable |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var int |
||
| 12 | */ |
||
| 13 | private $binLogPosition = 0; |
||
| 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 | 58 | public function getBinLogPosition(): int |
|
| 28 | { |
||
| 29 | 58 | return $this->binLogPosition; |
|
| 30 | } |
||
| 31 | |||
| 32 | 58 | public function setBinLogPosition(int $binLogPosition): void |
|
| 33 | { |
||
| 34 | 58 | $this->binLogPosition = $binLogPosition; |
|
| 35 | } |
||
| 36 | |||
| 37 | 58 | public function getBinFileName(): string |
|
| 38 | { |
||
| 39 | 58 | return $this->binFileName; |
|
| 40 | } |
||
| 41 | |||
| 42 | 58 | public function setBinFileName(string $binFileName): void |
|
| 45 | } |
||
| 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 |
||
| 60 | } |
||
| 61 | |||
| 62 | public function setMariaDbGtid(string $mariaDbGtid): void |
||
| 63 | { |
||
| 65 | } |
||
| 66 | |||
| 67 | #[\ReturnTypeWillChange] |
||
| 73 |