| Total Complexity | 5 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 10 | final class ResultPrinterFactory |
||
| 11 | { |
||
| 12 | /** @var ResultPrinterInterface */ |
||
| 13 | private $jsonPrinter; |
||
| 14 | /** @var ResultPrinterInterface */ |
||
| 15 | private $xmlPrinter; |
||
| 16 | /** @var ResultPrinterInterface */ |
||
| 17 | private $consolePrinter; |
||
| 18 | |||
| 19 | public function __construct( |
||
| 27 | } |
||
| 28 | |||
| 29 | /** @throws Exception\InvalidOutputFormatException */ |
||
| 30 | public function createFromFormat(string $format, OutputOptions $outputOptions): ResultPrinter |
||
| 44 |