PublishCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

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