Photoacompanhante::handle()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Finder\Console\Commands\Verify;
4
5
use Illuminate\Console\Command;
6
use Illuminate\Foundation\Inspiring;
7
use Integrations\Connectors\PhotoAcompanhante\Import;
8
9
class Photoacompanhante extends Command
10
{
11
    /**
12
     * The name and signature of the console command.
13
     *
14
     * @var string
15
     */
16
    protected $signature = 'sitec:verify:photoacompanhante';
17
18
    /**
19
     * The console command description.
20
     *
21
     * @var string
22
     */
23
    protected $description = 'Display an inspiring quote';
24
25
    /**
26
     * Call fire function
27
     *
28
     * @return void
29
     */
30
    public function handle()
31
    {
32
        $this->fire();
33
    }
34
    
35
    /**
36
     * Execute the console command.
37
     *
38
     * @return mixed
39
     */
40
    public function fire()
41
    {
42
        $this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
43
44
        (new Import())->slaves();
45
    }
46
}
47