InstagramGetAll   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 12 1
1
<?php
2
3
namespace Finder\Console\Commands\Spider;
4
5
use Operador\Actions\Instagram\GetMidias;
6
use Operador\Actions\Instagram\GetStories;
7
use Operador\Actions\Instagram\GetFollowers;
8
use Telefonica\Models\Digital\Account;
9
use Illuminate\Console\Command;
10
use Illuminate\Foundation\Inspiring;
11
use App\Plugins\Integrations\PhotoAcompanhante\Import;
12
13
class InstagramGetAll extends Command
14
{
15
    /**
16
     * The name and signature of the console command.
17
     *
18
     * @var string
19
     */
20
    protected $signature = 'sitec:spider:getall';
21
22
    /**
23
     * The console command description.
24
     *
25
     * @var string
26
     */
27
    protected $description = 'Display an inspiring quote';
28
29
    /**
30
     * Execute the console command.
31
     *
32
     * @return mixed
33
     */
34
    public function handle()
35
    {
36
37
        // $this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
38
        
39
        $account = Account::where('username', 'ricardorsierra')->first();
40
41
        // (new GetMidias($account))->prepare('avilafmaria')->execute();
42
        (new GetMidias($account))->prepare('isabel.vicsf')->execute();
43
        // (new GetStories($account))->prepare('jean_grey380')->execute();
44
        // (new GetFollowers($account))->prepare('jean_grey380')->execute();
45
    }
46
}
47