for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace MySQLReplication\Event;
use MySQLReplication\Event\DTO\MariaDbGtidLogDTO;
class MariaDbGtidEvent extends EventCommon
{
public function makeMariaDbGTIDLogDTO(): MariaDbGtidLogDTO
$mariaDbGtid = $this->binaryDataReader->readUInt64();
$domainId = $this->binaryDataReader->readUInt32();
$flag = $this->binaryDataReader->readUInt8();
$this->eventInfo->getBinLogCurrent()->setMariaDbGtid($mariaDbGtid);
return new MariaDbGtidLogDTO(
$this->eventInfo,
$flag,
$domainId,
$mariaDbGtid
);
}