| Total Complexity | 2 |
| Total Lines | 10 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 13 | final class CreateClassDiagram |
||
| 14 | { |
||
| 15 | 8 | public function __construct(private readonly ImageProcessor $imageProcessor, private readonly ProgressDisplay $display) |
|
|
|
|||
| 16 | { |
||
| 17 | } |
||
| 18 | |||
| 19 | 7 | public function __invoke(OutputContent $digraph): OutputContent |
|
| 20 | { |
||
| 21 | 7 | $this->display->runningProcessor($this->imageProcessor); |
|
| 22 | 7 | return $this->imageProcessor->process($digraph); |
|
| 23 | } |
||
| 25 |