| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | class FileWriter implements WriteInterface |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var string |
||
| 10 | */ |
||
| 11 | private $baseDir; |
||
| 12 | /** |
||
| 13 | * @var FileNameProviderInterface |
||
| 14 | */ |
||
| 15 | private $fileNameProvider; |
||
| 16 | |||
| 17 | 1 | public function __construct(string $baseDir, FileNameProviderInterface $fileNameProvider) |
|
| 21 | 1 | } |
|
| 22 | |||
| 23 | 1 | public function write(string $content): void |
|
| 35 |