| Total Complexity | 6 | 
| Total Lines | 41 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 12 | class CodeFileSaver  | 
            ||
| 13 | { | 
            ||
| 14 | /**  | 
            ||
| 15 | * Saves the generated code into files.  | 
            ||
| 16 | *  | 
            ||
| 17 | * @param CodeFile[] $files the code files to be saved  | 
            ||
| 18 | * @param string[] $results this parameter receives a value from this method indicating the log messages  | 
            ||
| 19 | * generated while saving the code files.  | 
            ||
| 20 | *  | 
            ||
| 21 | * @return bool whether files are successfully saved without any error.  | 
            ||
| 22 | * @throws InvalidConfigException  | 
            ||
| 23 | *  | 
            ||
| 24 | * @throws ReflectionException  | 
            ||
| 25 | */  | 
            ||
| 26 | public function save(AbstractGeneratorCommand $command, array $files, array $answers, array &$results): bool  | 
            ||
| 55 |