Total Complexity | 2 |
Total Lines | 10 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
14 | 3 | final class YamlWriter extends AbstractWriter |
|
15 | { |
||
16 | 3 | public function __construct(array $data, string $filename, string $path) |
|
17 | 3 | { |
|
18 | 3 | parent::__construct(Yaml::dump($data, 4, 2), $filename, $path); |
|
19 | 3 | } |
|
20 | |||
21 | 3 | protected function getExtension(): string |
|
24 | } |
||
25 | } |
||
26 |