Total Complexity | 4 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
8 | class TranslationMaker |
||
9 | { |
||
10 | private $something = []; |
||
11 | |||
12 | 4 | public function add(StorageInterface $source, StorageInterface $target, TranslatorInterface $translator): TranslationMaker |
|
13 | { |
||
14 | 4 | $this->something[] = [ |
|
15 | 4 | $source, |
|
16 | 4 | $target, |
|
17 | 4 | $translator |
|
18 | ]; |
||
19 | 4 | return $this; |
|
20 | } |
||
21 | |||
22 | 2 | public function make() |
|
33 | } |
||
34 | 2 | } |
|
36 |