| Total Complexity | 7 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class CodeGeneratorConfig extends AbstractConfig |
||
| 12 | { |
||
| 13 | public function getFacadeMakerTemplate(): string |
||
| 16 | } |
||
| 17 | |||
| 18 | public function getFactoryMakerTemplate(): string |
||
| 19 | { |
||
| 20 | return $this->getCommandTemplateContent('factory-maker.txt'); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function getConfigMakerTemplate(): string |
||
| 24 | { |
||
| 25 | return $this->getCommandTemplateContent('config-maker.txt'); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getDependencyProviderMakerTemplate(): string |
||
| 29 | { |
||
| 30 | return $this->getCommandTemplateContent('dependency-provider-maker.txt'); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @throws JsonException |
||
| 35 | * |
||
| 36 | * @return array{autoload: array{psr-4: array<string,string>}} |
||
| 37 | */ |
||
| 38 | public function getComposerJsonContentAsArray(): array |
||
| 49 | } |
||
| 50 | |||
| 51 | private function getCommandTemplateContent(string $filename): string |
||
| 54 | } |
||
| 55 | } |
||
| 56 |