Passed
Pull Request — master (#77)
by Ron
41:51 queued 13:39
created

tbInstall::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
namespace App\Console\Commands;
4
5
use Illuminate\Console\Command;
6
7
class tbInstall extends Command
8
{
9
    /**
10
     * The name and signature of the console command.
11
     *
12
     * @var string
13
     */
14
    protected $signature = 'tb-install';
15
16
    /**
17
     * The console command description.
18
     *
19
     * @var string
20
     */
21
    protected $description = 'Create a new installation of the Tech Bench';
22
23
    /**
24
     * Create a new command instance.
25
     *
26
     * @return void
27
     */
28 2
    public function __construct()
29
    {
30 2
        parent::__construct();
31 2
    }
32
33
    /**
34
     * Execute the console command.
35
     *
36
     * @return mixed
37
     */
38
    public function handle()
39
    {
40
        //
41
        $this->info('-----------------------------------------------------------------------------------');
42
        $this->info('|     ___________            .__      __________                     .__          |');
43
        $this->info('|     \__    ___/ ___   ____ |  |__   \______   \ ____   ____   ____ |  |__       |');
44
        $this->info('|        |    |_/ __ \_/ ___\|  |  \   |    |  _// __ \ /    \_/ ___\|  |  \      |');
45
        $this->info('|        |    |\  ___/\  \___|   Y  \  |    |   \  ___/|   |  \  \___|   Y  \     |');
46
        $this->info('|        |____| \___  >\___  >___|  /  |______  /\___  >___|  /\___  >___|  /     |');
47
        $this->info('|                   \/     \/     \/          \/     \/     \/     \/     \/      |');
48
        $this->info('-----------------------------------------------------------------------------------');
49
        $this->info('');
50
        $this->line('                     Welcom to the Tech Bench Installer');
51
        $this->line('');
52
    }
53
}
54