1 | <?php |
||
27 | class MySQLReplicationFactory |
||
28 | { |
||
29 | /** |
||
30 | * @var EventDispatcher |
||
31 | */ |
||
32 | private $eventDispatcher; |
||
33 | /** |
||
34 | * @var MySQLRepository |
||
35 | */ |
||
36 | private $MySQLRepository; |
||
37 | /** |
||
38 | * @var BinLogConnect |
||
39 | */ |
||
40 | private $binLogConnect; |
||
41 | /** |
||
42 | * @var Event |
||
43 | */ |
||
44 | private $event; |
||
45 | /** |
||
46 | * @var BinLogAuth |
||
47 | */ |
||
48 | private $binLogAuth; |
||
49 | /** |
||
50 | * @var Connection |
||
51 | */ |
||
52 | private $connection; |
||
53 | /** |
||
54 | * @var BinaryDataReaderService |
||
55 | */ |
||
56 | private $binaryDataReaderService; |
||
57 | /** |
||
58 | * @var GtidService |
||
59 | */ |
||
60 | private $GtiService; |
||
61 | /** |
||
62 | * @var RowEventService |
||
63 | */ |
||
64 | private $rowEventService; |
||
65 | /** |
||
66 | * @var JsonBinaryDecoderFactory |
||
67 | */ |
||
68 | private $jsonBinaryDecoderFactory; |
||
69 | |||
70 | /** |
||
71 | * @param Config $config |
||
72 | * @throws MySQLReplicationException |
||
73 | * @throws DBALException |
||
74 | * @throws ConfigException |
||
75 | * @throws BinLogException |
||
76 | */ |
||
77 | public function __construct(Config $config) |
||
109 | |||
110 | /** |
||
111 | * @param EventSubscribers $eventSubscribers |
||
112 | */ |
||
113 | public function registerSubscriber(EventSubscribers $eventSubscribers) |
||
117 | |||
118 | /** |
||
119 | * @return Connection |
||
120 | */ |
||
121 | public function getDbConnection() |
||
125 | |||
126 | /** |
||
127 | * @throws MySQLReplicationException |
||
128 | */ |
||
129 | public function binLogEvent() |
||
133 | } |
||
134 |