Pure PHP Implementation of MySQL replication protocol. This allow you to receive event like insert, update, delete with their data and raw SQL queries.
Sorry, my English is not good, I hope you can understand my description
This is the description of machine translation
php-mysql-replication Version*: ^6.2.0
file: MySQLReplication\Event\dispatch(EventDTO $eventDTO = null)
6.1.0 Version
$this->eventDispatcher->dispatch($eventDTO->getType(), $eventDTO);
^6.2.0 Version
$this->eventDispatcher->dispatch($eventDTO, $eventDTO->getType());
^6.2.0 Version composer.json require "symfony/event-dispatcher": "^3.1|^4.0|^5.0"
but ^3.1|^4.0 Method parameters
dispatch($eventName, Event $event = null)
It is different from the call mode
error info :Argument 2 passed to Symfony\Component\EventDispatcher\EventDispatcher::dispatch() must be an instance of Symfony\Component\EventDispatcher\Event or null, string given, called in /WMS/vendor/krowinski/php-mysql-replication/src/MySQLReplication/Event/Event.php on line 132[/WMS/vendor/symfony/event-dispatcher/EventDispatcher.php:36]
Sorry, my English is not good, I hope you can understand my description This is the description of machine translation
php-mysql-replication Version*: ^6.2.0
file: MySQLReplication\Event\dispatch(EventDTO $eventDTO = null) 6.1.0 Version $this->eventDispatcher->dispatch($eventDTO->getType(), $eventDTO);
^6.2.0 Version $this->eventDispatcher->dispatch($eventDTO, $eventDTO->getType());
^6.2.0 Version composer.json require "symfony/event-dispatcher": "^3.1|^4.0|^5.0" but ^3.1|^4.0 Method parameters dispatch($eventName, Event $event = null) It is different from the call mode
error info :Argument 2 passed to Symfony\Component\EventDispatcher\EventDispatcher::dispatch() must be an instance of Symfony\Component\EventDispatcher\Event or null, string given, called in /WMS/vendor/krowinski/php-mysql-replication/src/MySQLReplication/Event/Event.php on line 132[/WMS/vendor/symfony/event-dispatcher/EventDispatcher.php:36]