Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
75 | public function getOutputPrinters() |
||
76 | { |
||
77 | $printers = []; |
||
78 | |||
79 | foreach ($this->outputFormats as $format) { |
||
80 | $printer = $this->container->get(OutputPrinterInterface::SERVICE_ID_PREFIX . '.' . $format); |
||
81 | $printer->configure($this); |
||
82 | $printers[] = $printer; |
||
83 | } |
||
84 | |||
85 | return $printers; |
||
86 | } |
||
87 | } |