Completed
Push — master ( ae28b0...9ddd67 )
by Nassif
02:03
created

Pull   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 66.67%

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 2
dl 0
loc 11
ccs 2
cts 3
cp 0.6667
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 4 1
1
<?php
2
3
namespace Nikaia\TranslationSheet\Commands;
4
5
use Illuminate\Console\Command;
6
use Nikaia\TranslationSheet\Puller;
7
8
class Pull extends Command
9
{
10
    protected $signature = 'translation_sheet:pull';
11
12
    protected $description = 'Pull translations from spreadsheet and override local languages files';
13
14 1
    public function handle(Puller $puller)
15
    {
16 1
        $puller->withOutput($this->output)->pull();
17
    }
18
}
19