| Conditions | 3 |
| Paths | 4 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | public function process(): void |
||
| 29 | { |
||
| 30 | $reportConfigurations = $this->reportConfigurationProvider->getReportConfigurations(); |
||
| 31 | |||
| 32 | if (count($reportConfigurations) === 0) { |
||
| 33 | $this->logger->info('No report configurations due'); |
||
| 34 | } |
||
| 35 | |||
| 36 | foreach ($reportConfigurations as $reportConfiguration) { |
||
| 37 | $this->logger->info('Processing report configuration: ' . $reportConfiguration->getName()); |
||
| 38 | $this->commandBus->dispatch(new ProcessReportConfiguration($reportConfiguration->getId())); |
||
| 39 | } |
||
| 42 |