| Total Complexity | 7 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class ConfigAbstract extends ClassGenerator |
||
| 9 | { |
||
| 10 | protected function formExtends() |
||
| 11 | { |
||
| 12 | return 'carono\etxtru\ConfigAbstract'; |
||
| 13 | } |
||
| 14 | |||
| 15 | protected function formClassName() |
||
| 16 | { |
||
| 17 | return formClassName($this->params['api'] . '_' . $this->params['name'], []) . 'Config'; |
||
| 18 | } |
||
| 19 | |||
| 20 | protected function formClassNamespace() |
||
| 23 | } |
||
| 24 | |||
| 25 | protected function formOutputPath() |
||
| 26 | { |
||
| 27 | return dirname(__DIR__) . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . $this->formClassName() . '.php'; |
||
| 28 | } |
||
| 29 | |||
| 30 | protected function classProperties() |
||
| 45 | } |
||
| 46 | } |