| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class OutputWriter implements WriteInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var OutputInterface |
||
| 12 | */ |
||
| 13 | private $output; |
||
| 14 | /** |
||
| 15 | * @var FileNameProviderInterface |
||
| 16 | */ |
||
| 17 | private $fileNameProvider; |
||
| 18 | |||
| 19 | 3 | public function __construct(OutputInterface $output, FileNameProviderInterface $fileNameProvider) |
|
| 20 | { |
||
| 21 | 3 | $this->output = $output; |
|
| 22 | 3 | $this->fileNameProvider = $fileNameProvider; |
|
| 23 | 3 | } |
|
| 24 | |||
| 25 | 3 | public function write(string $content): void |
|
| 36 | 3 | } |
|
| 37 | } |
||
| 38 |