| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | final class PdfGenerator implements PdfGeneratorInterface |
||
| 22 | { |
||
| 23 | private ExperimentRepositoryInterface $experimentRepository; |
||
| 24 | private Environment $environment; |
||
| 25 | private ?GeneratorInterface $generator; |
||
| 26 | |||
| 27 | public function __construct(ExperimentRepositoryInterface $experimentRepository, Environment $environment, ?GeneratorInterface $generator) |
||
| 28 | { |
||
| 29 | $this->experimentRepository = $experimentRepository; |
||
| 30 | $this->environment = $environment; |
||
| 31 | $this->generator = $generator; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function generate(): string |
||
| 44 | } |
||
| 45 | } |
||
| 46 |