Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | abstract class AbstractMapper |
||
8 | { |
||
9 | private static $dbTables = []; |
||
10 | |||
11 | /** |
||
12 | * Returns the Zend_Db_Table for the current model class |
||
13 | * |
||
14 | * @return Zend_Db_Table_Abstract |
||
15 | */ |
||
16 | 16 | public static function getDbTable() |
|
26 | } |
||
27 | |||
28 | /** |
||
29 | * Returns the short class name of the model |
||
30 | * eg: called from \mQueue\Model\ChapterMapper, it will return 'Chapter' |
||
31 | * |
||
32 | * @return string short class name |
||
33 | */ |
||
34 | 16 | private static function getShortClassName() |
|
42 |