| 1 | <?php |
||
| 7 | class MysqlConnection implements ConnectionInterface |
||
| 8 | { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * |
||
| 12 | * @var AdapterInterface |
||
| 13 | */ |
||
| 14 | protected $adapter; |
||
| 15 | |||
| 16 | |||
| 17 | /** |
||
| 18 | * |
||
| 19 | * @var mixed |
||
| 20 | */ |
||
| 21 | protected $resource; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * |
||
| 25 | * @param AdapterInterface $adapter |
||
| 26 | * @param mixed $resource |
||
| 27 | */ |
||
| 28 | 13 | public function __construct(AdapterInterface $adapter, $resource) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | 2 | public function getCurrentSchema() |
|
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | * @return \mysqli|\PDO |
||
| 54 | */ |
||
| 55 | 2 | public function getResource() { |
|
| 58 | |||
| 59 | } |
||
| 60 | |||
| 61 |