AbstractCommand   A
last analyzed

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