Total Complexity | 6 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | abstract class AbstractAdapter implements AdapterInterface |
||
9 | { |
||
10 | |||
11 | protected $dbOptions = []; |
||
12 | protected $connection; |
||
13 | |||
14 | public function __construct(array $options) |
||
15 | { |
||
16 | $this->setDbOptions($options); |
||
17 | } |
||
18 | |||
19 | public function getDbOptions() |
||
22 | } |
||
23 | |||
24 | public function setDbOptions(array $options) |
||
25 | { |
||
26 | $this->dbOptions = $options; |
||
27 | return $this; |
||
28 | } |
||
29 | |||
30 | public function getDbOption($name) |
||
37 | } |
||
38 | |||
39 | public function hasDbOption($name) |
||
45 |