Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
10 | public function makeMariaDbGTIDLogDTO(): MariaDbGtidLogDTO |
||
11 | { |
||
12 | $mariaDbGtid = $this->binaryDataReader->readUInt64(); |
||
13 | $domainId = $this->binaryDataReader->readUInt32(); |
||
14 | $flag = $this->binaryDataReader->readUInt8(); |
||
15 | |||
16 | $this->eventInfo->getBinLogCurrent()->setMariaDbGtid($mariaDbGtid); |
||
17 | |||
18 | return new MariaDbGtidLogDTO( |
||
19 | $this->eventInfo, |
||
20 | $flag, |
||
21 | $domainId, |
||
22 | $mariaDbGtid |
||
23 | ); |
||
26 |