Completed
Push — master ( 5c52b8...379248 )
by ARCANEDEV
03:49
created

Command::arcanesoftHeader()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 13
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 9
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 13
ccs 0
cts 11
cp 0
crap 2
rs 9.4285
1
<?php namespace Arcanesoft\Foundation\Console;
2
3
use Arcanedev\Support\Bases\Command as BaseCommand;
4
5
/**
6
 * Class     Command
7
 *
8
 * @package  Arcanesoft\Foundation\Console
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
abstract class Command extends BaseCommand
12
{
13
    /* ------------------------------------------------------------------------------------------------
14
     |  Shared Functions
15
     | ------------------------------------------------------------------------------------------------
16
     */
17
    /**
18
     * Display arcanesoft header.
19
     */
20
    protected function arcanesoftHeader()
21
    {
22
        $this->comment('    ___    ____  _________    _   _____________ ____  ____________');
23
        $this->comment('   /   |  / __ \/ ____/   |  / | / / ____/ ___// __ \/ ____/_  __/');
24
        $this->comment('  / /| | / /_/ / /   / /| | /  |/ / __/  \__ \/ / / / /_    / /   ');
25
        $this->comment(' / ___ |/ _, _/ /___/ ___ |/ /|  / /___ ___/ / /_/ / __/   / /    ');
26
        $this->comment('/_/  |_/_/ |_|\____/_/  |_/_/ |_/_____//____/\____/_/     /_/     ');
27
        $this->line('');
28
29
        // Copyright
30
        $this->comment('Version ' . foundation()->version() . ' | 2015-2016 | Created by ARCANEDEV(c)');
31
        $this->line('');
32
    }
33
34
    /**
35
     * Get the config repository.
36
     *
37
     * @return \Illuminate\Contracts\Config\Repository
38
     */
39
    protected function config()
40
    {
41
        return $this->laravel['config'];
42
    }
43
}
44