1 | <?php |
||
11 | class MySQLRepository implements RepositoryInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var Connection |
||
15 | */ |
||
16 | private $connection; |
||
17 | |||
18 | public function __construct(Connection $connection) |
||
22 | |||
23 | public function __destruct() |
||
27 | |||
28 | /** |
||
29 | * @param string $schema |
||
30 | * @param string $table |
||
31 | * @return array |
||
32 | */ |
||
33 | public function getFields($schema, $table) |
||
63 | |||
64 | /** |
||
65 | * @return Connection |
||
66 | */ |
||
67 | public function getConnection() |
||
77 | |||
78 | /** |
||
79 | * @return bool |
||
80 | */ |
||
81 | public function isCheckSum() |
||
87 | |||
88 | /** |
||
89 | * @return string |
||
90 | */ |
||
91 | public function getVersion() |
||
104 | |||
105 | /** |
||
106 | * File |
||
107 | * Position |
||
108 | * Binlog_Do_DB |
||
109 | * Binlog_Ignore_DB |
||
110 | * Executed_Gtid_Set |
||
111 | * |
||
112 | * @return array |
||
113 | */ |
||
114 | public function getMasterStatus() |
||
118 | } |