| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class ClassGenerator extends AbstractClassGenerator |
||
| 9 | { |
||
| 10 | protected const TEMPLATE_NAME = 'class.twig'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param \Jellyfish\Transfer\Definition\ClassDefinitionInterface $classDefinition |
||
| 14 | * |
||
| 15 | * @return string |
||
| 16 | */ |
||
| 17 | protected function getFile(ClassDefinitionInterface $classDefinition): string |
||
| 18 | { |
||
| 19 | return $classDefinition->getName() . static::FILE_EXTENSION; |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return string |
||
| 24 | */ |
||
| 25 | protected function getTemplateName(): string |
||
| 28 | } |
||
| 29 | } |
||
| 30 |