| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | abstract class GeneratorCommand extends Generator |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | protected $defaultNamespacePrefix = ''; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Determine if the class already exists. |
||
| 17 | * |
||
| 18 | * @param string $rawName |
||
| 19 | * @return bool |
||
| 20 | */ |
||
| 21 | protected function alreadyExists($rawName) |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Get the default namespace for the class. |
||
| 29 | * |
||
| 30 | * @param string $rootNamespace |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | protected function getDefaultNamespace($rootNamespace) |
||
| 43 |