| Total Complexity | 10 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 7 | class YumlModelsCreator extends ModelsCreator{ |
||
| 8 | /** |
||
| 9 | * @var YumlParser |
||
| 10 | */ |
||
| 11 | private $yumlParser; |
||
| 12 | |||
| 13 | 1 | protected function init($config){ |
|
| 14 | 1 | parent::init($config); |
|
| 15 | 1 | } |
|
| 16 | |||
| 17 | 1 | public function initYuml($yumlString) { |
|
| 19 | 1 | } |
|
| 20 | |||
| 21 | |||
| 22 | 1 | protected function getTablesName(){ |
|
| 23 | 1 | return $this->yumlParser->getTableNames(); |
|
| 24 | } |
||
| 25 | |||
| 26 | 1 | protected function getFieldsInfos($tableName) { |
|
| 33 | } |
||
| 34 | |||
| 35 | 1 | protected function fieldIsEmail($field) |
|
| 44 | } |
||
| 45 | |||
| 46 | protected function getPrimaryKeys($tableName){ |
||
| 48 | } |
||
| 49 | |||
| 50 | protected function getForeignKeys($tableName,$pkName){ |
||
| 54 |