Completed
Push — master ( bbd982...80b229 )
by ARCANEDEV
05:44
created

InstallCommand   A

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 Arcanesoft\Auth\Console;
2
3
/**
4
 * Class     InstallCommand
5
 *
6
 * @package  Arcanesoft\Auth\Console
7
 * @author   ARCANEDEV <[email protected]>
8
 */
9
class InstallCommand extends Command
10
{
11
    /* -----------------------------------------------------------------
12
     |  Properties
13
     | -----------------------------------------------------------------
14
     */
15
16
    /**
17
     * The name and signature of the console command.
18
     *
19
     * @var string
20
     */
21
    protected $signature   = 'auth:install';
22
23
    /**
24
     * The console command description.
25
     *
26
     * @var string
27
     */
28
    protected $description = 'Install the Auth module.';
29
30
    /* -----------------------------------------------------------------
31
     |  Main Functions
32
     | -----------------------------------------------------------------
33
     */
34
35
    /**
36
     * Execute the console command.
37
     */
38
    public function handle()
39
    {
40
        $this->call('db:seed', [
41
            '--class' => \Arcanesoft\Auth\Seeds\DatabaseSeeder::class
42
        ]);
43
    }
44
}
45