Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
29 | 15 | public function generate(CodeFinder $finder, string $dotFilePath): void |
|
30 | { |
||
31 | 15 | $this->command()->runningParser(); |
|
32 | 12 | $structure = $this->parser->parse($finder); |
|
33 | 12 | $this->command()->runningProcessor($this->dotProcessor); |
|
34 | 12 | $dotLanguage = $this->dotProcessor->process($structure); |
|
35 | 12 | $this->command()->savingResult(); |
|
36 | 12 | $this->dotProcessor->writeToDisk($dotLanguage, $dotFilePath); |
|
37 | 12 | } |
|
39 |