Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
27 | public function pull() |
||
28 | { |
||
29 | $this->output->writeln('<comment>Pulling translation from Spreadsheet</comment>'); |
||
30 | $translations = $this->getTranslations(); |
||
31 | |||
32 | $this->output->writeln('<comment>Writing languages files :</comment>'); |
||
33 | $this->writer |
||
34 | ->withOutput($this->output) |
||
35 | ->setTranslations($translations) |
||
36 | ->write(); |
||
37 | |||
38 | $this->output->writeln('<info>Done.</info>'); |
||
39 | } |
||
40 | |||
50 |