TokensSync   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 38
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 38
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A handle() 0 6 1
1
<?php
2
3
namespace Finder\Console\Commands\Sync;
4
5
use Illuminate\Console\Command;
6
use Population\Models\MediaSend;
7
use Population\Models\MediaEmail;
8
use Population\Models\MediaPush;
9
use Population\Models\Company;
10
use Population\Models\User;
11
use SendGrid;
12
use Finder\Http\Controllers\Api\Controller;
13
use Operador\Routines\Globals\ImportTokens;
14
15
class TokensSync extends Command
16
{
17
    /**
18
     * The name and signature of the console command.
19
     *
20
     * @var string
21
     */
22
    protected $signature = 'sitec:sync:tokens';
23
24
    /**
25
     * The console command description.
26
     *
27
     * @var string
28
     */
29
    protected $description = 'Importar a porra toda !';
30
31
    /**
32
     * Create a new command instance.
33
     *
34
     * @return void
0 ignored issues
show
Comprehensibility Best Practice introduced by
Adding a @return annotation to constructors is generally not recommended as a constructor does not have a meaningful return value.

Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.

Please refer to the PHP core documentation on constructors.

Loading history...
35
     */
36
    public function __construct()
37
    {
38
        parent::__construct();
39
    }
40
41
    /**
42
     * Execute the console command.
43
     *
44
     * @return mixed
45
     */
46
    public function handle()
47
    {
48
        // (new \Operador\Routines\Globals\BackupAll)->run();
49
        $importTokens = ImportTokens::makeWithOutput($this);
50
        $importTokens->run($this);
51
    }
52
}
53