Pure PHP Implementation of MySQL replication protocol. This allow you to receive event like insert, update, delete with their data and raw SQL queries.
MIT License
323
stars
98
forks
source link
fix: change for event dispatcher interface to keep logic from MySQLReplicationFactory #69
It is useful to keep the same logic with EventDispatcherInterface in Event class because it is this interface for MySQLReplicationFactory class. It prevents this error for example:
Argument 3 passed to MySQLReplication\Event\Event::__construct() must be an instance of Symfony\Component\EventDispatcher\EventDispatcher, instance of Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher given
It is useful to keep the same logic with
EventDispatcherInterface
inEvent
class because it is this interface forMySQLReplicationFactory
class. It prevents this error for example: