Total Complexity | 3 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | final class MarkdownFormatter implements OutputFormatter |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $outputFilename; |
||
15 | |||
16 | public function __construct(string $outputFilename) |
||
17 | { |
||
18 | $this->outputFilename = $outputFilename; |
||
19 | } |
||
20 | |||
21 | public function write(Changes $changes) : void |
||
47 | )) |
||
48 | ); |
||
49 | } |
||
50 | |||
51 | private function convertFilteredChangesToMarkdownBulletList(callable $filterFunction, Change ...$changes) : array |
||
58 | ); |
||
59 | } |
||
61 |