1 | <?php |
||
10 | class PdoSqliteAdapter extends GenericPdo implements AdapterInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var \PDO |
||
14 | */ |
||
15 | protected $resource; |
||
16 | |||
17 | /** |
||
18 | * @var PdoSqliteConnection |
||
19 | */ |
||
20 | protected $connection; |
||
21 | |||
22 | /** |
||
23 | * Constructor. |
||
24 | * |
||
25 | * @throws Exception\InvalidArgumentException |
||
26 | * @throws Exception\RuntimeException |
||
27 | * |
||
28 | * @param \PDO $resource |
||
29 | */ |
||
30 | 7 | public function __construct(PDO $resource) |
|
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | * |
||
44 | * @return PdoSqliteConnection |
||
45 | */ |
||
46 | 3 | public function getConnection() |
|
50 | } |
||
51 |