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