| Total Complexity | 5 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class ComposeExporter implements Exporter |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * List of exportes that are called |
||
| 14 | * |
||
| 15 | * @var Exporter[] |
||
| 16 | */ |
||
| 17 | private array $exporters; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Add a new exporter to the composed exporter. |
||
| 21 | * |
||
| 22 | * @param Exporter $exporter |
||
| 23 | * @return void |
||
| 24 | */ |
||
| 25 | public function addExporter(Exporter $exporter): void |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @inheritDoc |
||
| 32 | */ |
||
| 33 | public function process(array $pluginBlock, int $currentPage, int $maxPages): void |
||
| 37 | } |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @inheritDoc |
||
| 42 | */ |
||
| 43 | public function finish(): void |
||
| 50 |