| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | final class Generator |
||
| 20 | { |
||
| 21 | private GenerationHandlerInterface $generationHandler; |
||
| 22 | |||
| 23 | public function __construct(private PdfGeneratorInterface $pdfGenerator) |
||
| 25 | } |
||
| 26 | |||
| 27 | public function setGenerationHandler(GenerationHandlerInterface $generationHandler): void |
||
| 28 | { |
||
| 29 | $this->generationHandler = $generationHandler; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function generate(): void |
||
| 40 | } |
||
| 41 | } |
||
| 42 |