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