Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
18 | final class FileMutationsBuilder |
||
19 | { |
||
20 | /** |
||
21 | * @var FileMutation[] |
||
22 | */ |
||
23 | private $fileMutations; |
||
24 | |||
25 | /** |
||
26 | * FileMutationsBuilder constructor. |
||
27 | */ |
||
28 | public function __construct() |
||
29 | { |
||
30 | $this->fileMutations = []; |
||
31 | } |
||
32 | |||
33 | public function addFileMutation(FileMutation $fileMutation): void |
||
34 | { |
||
35 | $this->fileMutations[] = $fileMutation; |
||
36 | } |
||
37 | |||
38 | public function build(): FileMutations |
||
41 | } |
||
42 | } |
||
43 |