| Total Complexity | 5 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | abstract class AbstractRepository |
||
| 7 | { |
||
| 8 | use \WebServCo\Framework\Traits\OutputTrait; |
||
| 9 | |||
| 10 | public function __construct($outputLoader) |
||
| 11 | { |
||
| 12 | $this->outputLoader = $outputLoader; |
||
| 13 | } |
||
| 14 | |||
| 15 | final protected function pdoDb() |
||
| 18 | } |
||
| 19 | |||
| 20 | final protected function mysqliDb() |
||
| 23 | } |
||
| 24 | |||
| 25 | final protected function i18n() |
||
| 26 | { |
||
| 27 | return Fw::getLibrary('I18n'); |
||
| 28 | } |
||
| 29 | |||
| 30 | final protected function session() |
||
| 33 | } |
||
| 34 | } |
||
| 35 |