1 | <?php |
||
8 | class PdoSqliteConnection implements ConnectionInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var AdapterInterface |
||
12 | */ |
||
13 | protected $adapter; |
||
14 | |||
15 | /** |
||
16 | * @var \PDO |
||
17 | */ |
||
18 | protected $resource; |
||
19 | |||
20 | /** |
||
21 | * @param AdapterInterface $adapter |
||
22 | * @param \PDO $resource |
||
23 | */ |
||
24 | 7 | public function __construct(AdapterInterface $adapter, PDO $resource) |
|
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | 1 | public function getCurrentSchema() |
|
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | * |
||
41 | * @return \PDO |
||
42 | */ |
||
43 | 1 | public function getResource() |
|
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | 1 | public function getHost() |
|
55 | } |
||
56 |