| Total Complexity | 4 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | final class ConsoleFacade extends AbstractFacade |
||
| 15 | { |
||
| 16 | 9 | public function sanitizeFilename(string $filename): string |
|
| 17 | { |
||
| 18 | 9 | return $this->getFactory() |
|
| 19 | 9 | ->createFilenameSanitizer() |
|
| 20 | 9 | ->sanitize($filename); |
|
| 21 | } |
||
| 22 | |||
| 23 | 12 | public function parseArguments(string $desiredNamespace): CommandArguments |
|
| 24 | { |
||
| 25 | 12 | return $this->getFactory() |
|
| 26 | 12 | ->createCommandArgumentsParser() |
|
| 27 | 12 | ->parse($desiredNamespace); |
|
| 28 | } |
||
| 29 | |||
| 30 | 10 | public function generateFileContent( |
|
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return list<AppModule> |
||
| 42 | */ |
||
| 43 | 2 | public function findAllAppModules(): array |
|
| 48 | } |
||
| 49 | } |
||
| 50 |