Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
33 | public function pull() |
||
34 | { |
||
35 | $this->output->writeln("Pulling translations from sheet [<comment>{$this->translationsSheet->getTitle()}</comment>] :"); |
||
36 | $translations = $this->getTranslations(); |
||
37 | |||
38 | $this->output->writeln(' <comment>Writing languages files :</comment>'); |
||
39 | $this->writer |
||
40 | ->withOutput($this->output) |
||
41 | ->setTranslationsSheet($this->translationsSheet) |
||
42 | ->setTranslations($translations) |
||
43 | ->write(); |
||
44 | |||
45 | $this->output->writeln(' <info>Done.</info>'); |
||
46 | $this->output->writeln(PHP_EOL); |
||
47 | } |
||
48 | |||
58 |