1 | <?php |
||
8 | class PdoSqliteConnection implements ConnectionInterface |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * |
||
13 | * @var AdapterInterface |
||
14 | */ |
||
15 | protected $adapter; |
||
16 | |||
17 | |||
18 | /** |
||
19 | * |
||
20 | * @var \PDO |
||
21 | */ |
||
22 | protected $resource; |
||
23 | |||
24 | /** |
||
25 | * |
||
26 | * @param AdapterInterface $adapter |
||
27 | * @param \PDO $resource |
||
28 | */ |
||
29 | 5 | public function __construct(AdapterInterface $adapter, PDO $resource) |
|
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | 1 | public function getCurrentSchema() |
|
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | * @return \PDO |
||
46 | */ |
||
47 | 1 | public function getResource() { |
|
50 | |||
51 | } |
||
52 | |||
53 |