PublishCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 36
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 6 1
1
<?php namespace Arcanedev\LaravelTracker\Console;
2
3
use Arcanedev\Support\Bases\Command;
4
5
/**
6
 * Class     PublishCommand
7
 *
8
 * @package  Arcanedev\LaravelTracker\Console
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
class PublishCommand extends Command
12
{
13
    /* -----------------------------------------------------------------
14
     |  Properties
15
     | -----------------------------------------------------------------
16
     */
17
18
    /**
19
     * The name and signature of the console command.
20
     *
21
     * @var string
22
     */
23
    protected $signature = 'laravel-tracker:publish';
24
25
    /**
26
     * The console command description.
27
     *
28
     * @var string
29
     */
30
    protected $description = 'Publish the Laravel Tracker config, migrations...';
31
32
    /* -----------------------------------------------------------------
33
     |  Main Methods
34
     | -----------------------------------------------------------------
35
     */
36
37
    /**
38
     * Execute the console command.
39
     */
40
    public function handle()
41
    {
42
        $this->call('vendor:publish', [
43
            '--provider' => \Arcanedev\LaravelTracker\LaravelTrackerServiceProvider::class,
44
        ]);
45
    }
46
}
47