ExportCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 30
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 4 1
1
<?php
2
3
namespace TopviewDigital\TranslationHelper\Console;
4
5
use Illuminate\Console\Command;
6
7
class ExportCommand extends Command
8
{
9
    /**
10
     * The console command name.
11
     *
12
     * @var string
13
     */
14
    protected $signature = 'trans-helper:export';
15
    /**
16
     * The console command description.
17
     *
18
     * @var string
19
     */
20
    protected $description = 'Export translated terms into language files';
21
    /**
22
     * Install directory.
23
     *
24
     * @var string
25
     */
26
    protected $directory = '';
27
28
    /**
29
     * Execute the console command.
30
     *
31
     * @return void
32
     */
33
    public function handle()
34
    {
35
        sweep();
36
        export();
37
    }
38
}
39