Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
17 | abstract class AReadWriteDatabase extends AMapper |
||
18 | { |
||
19 | use TTable; |
||
20 | use TReadDatabase; |
||
21 | use TWriteDatabase; |
||
22 | |||
23 | /** |
||
24 | * @throws MapperException |
||
25 | */ |
||
26 | 4 | public function __construct() |
|
27 | { |
||
28 | 4 | parent::__construct(); |
|
29 | |||
30 | 4 | $this->initTReadDatabase(); |
|
31 | 4 | $this->initTWriteDatabase(); |
|
32 | 4 | } |
|
33 | |||
34 | 14 | public function getAlias(): string |
|
37 | } |
||
38 | } |
||
39 |