Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | public function send(string $file, ReportInterface $report, ReportConfigurationInterface $reportConfiguration): void |
||
23 | { |
||
24 | foreach ($reportConfiguration->getTransports() as $reportConfigurationTransport) { |
||
25 | /** @var TransportInterface $transport */ |
||
26 | $transport = $this->transportRegistry->get($reportConfigurationTransport->getType()); |
||
27 | |||
28 | $transport->send($file, $reportConfigurationTransport->getConfiguration(), $report, $reportConfiguration); |
||
29 | } |
||
32 |