| Total Complexity | 2 | 
| Total Lines | 12 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 11 | abstract class AbstractGeneratorCommand implements GeneratorCommandInterface  | 
            ||
| 12 | { | 
            ||
| 13 | 3 | public function __construct(  | 
            |
| 14 | #[Required(message: 'A code template must be selected.')]  | 
            ||
| 15 | #[TemplateRule]  | 
            ||
| 16 | protected string $template = 'default',  | 
            ||
| 17 |     ) { | 
            ||
| 18 | }  | 
            ||
| 19 | |||
| 20 | 1 | public function getTemplate(): string  | 
            |
| 23 | }  | 
            ||
| 24 | }  | 
            ||
| 25 |