| 1 | <?php |
||
| 9 | class ZendDb2Connection implements ConnectionInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var AdapterInterface; |
||
| 13 | */ |
||
| 14 | protected $adapter; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var \Zend\Db\Adapter\Adapter; |
||
| 18 | */ |
||
| 19 | protected $zendAdapter; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param AdapterInterface $adapter |
||
| 23 | * @param \Zend\Db\Adapter\Adapter $zendAdapter |
||
| 24 | */ |
||
| 25 | 6 | public function __construct(AdapterInterface $adapter, \Zend\Db\Adapter\Adapter $zendAdapter) |
|
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | * |
||
| 34 | * @return mixed |
||
| 35 | */ |
||
| 36 | 1 | public function getResource() |
|
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | * |
||
| 44 | * @throws Exception\UnsupportedFeatureException |
||
| 45 | */ |
||
| 46 | public function getHost() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | * |
||
| 54 | * @throws Exception\RuntimeException |
||
| 55 | * |
||
| 56 | * @return string |
||
| 57 | */ |
||
| 58 | 1 | public function getCurrentSchema() |
|
| 68 | } |
||
| 69 |