Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | private function addTemplateByFilenameMap(Container $container): void |
||
24 | { |
||
25 | $codeTemplate = $this->getConfig(); |
||
26 | |||
27 | $container->set(self::TEMPLATE_BY_FILENAME_MAP, static fn () => [ |
||
28 | FilenameSanitizer::FACADE => $codeTemplate->getFacadeMakerTemplate(), |
||
29 | FilenameSanitizer::FACTORY => $codeTemplate->getFactoryMakerTemplate(), |
||
30 | FilenameSanitizer::CONFIG => $codeTemplate->getConfigMakerTemplate(), |
||
31 | FilenameSanitizer::DEPENDENCY_PROVIDER => $codeTemplate->getDependencyProviderMakerTemplate(), |
||
32 | ]); |
||
35 |