| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | abstract class ADatabase extends AMapper |
||
| 16 | { |
||
| 17 | use TTable; |
||
| 18 | use TReadDatabase; |
||
| 19 | use TWriteDatabase; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @throws MapperException |
||
| 23 | */ |
||
| 24 | 12 | public function __construct() |
|
| 30 | 12 | } |
|
| 31 | |||
| 32 | 36 | public function getAlias(): string |
|
| 33 | { |
||
| 34 | 36 | return $this->getTable(); |
|
| 35 | } |
||
| 36 | |||
| 37 | 12 | protected function getReadSource(): string |
|
| 40 | } |
||
| 41 | |||
| 42 | 12 | protected function getWriteSource(): string |
|
| 45 | } |
||
| 46 | } |
||
| 47 |