Completed
Pull Request — master (#16)
by ARCANEDEV
10:31 queued 08:50
created

AbstractCommand   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A copyright() 0 15 1
1
<?php namespace Arcanedev\LaravelLang\Commands;
2
3
use Arcanedev\LaravelLang\LaravelLang;
4
use Arcanedev\Support\Bases\Command as BaseCommand;
5
6
/**
7
 * Class     Command
8
 *
9
 * @package  Arcanedev\LaravelLang\Bases
10
 * @author   ARCANEDEV <[email protected]>
11
 */
12
abstract class AbstractCommand extends BaseCommand
13
{
14
    /* -----------------------------------------------------------------
15
     |  Other Methods
16
     | -----------------------------------------------------------------
17
     */
18
19
    /**
20
     * Display LogViewer Logo and Copyrights.
21
     */
22 60
    protected function copyright()
23
    {
24
        // LOGO
25 60
        $this->comment("   __                           _   __                   ");
26 60
        $this->comment("  / /  __ _ _ __ __ ___   _____| | / /  __ _ _ __   __ _ ");
27 60
        $this->comment(" / /  / _` | '__/ _` \ \ / / _ \ |/ /  / _` | '_ \ / _` |");
28 60
        $this->comment("/ /__| (_| | | | (_| |\ V /  __/ / /__| (_| | | | | (_| |");
29 60
        $this->comment("\____/\__,_|_|  \__,_| \_/ \___|_\____/\__,_|_| |_|\__, |");
30 60
        $this->comment("                                                   |___/ ");
31 60
        $this->line('');
32
33
        // Copyright
34 60
        $this->comment('Version '.LaravelLang::VERSION.' - Created by ARCANEDEV'.chr(169));
35 60
        $this->line('');
36 60
    }
37
}
38