Passed
Branch master (9edb23)
by Provinsi
06:28 queued 03:41
created

AnggaranCommand::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Bantenprov\Anggaran\Console\Commands;
4
5
use Illuminate\Console\Command;
6
7
/**
8
 * The AnggaranCommand class.
9
 *
10
 * @package Bantenprov\Anggaran
11
 * @author  bantenprov <[email protected]>
12
 */
13
class AnggaranCommand extends Command
14
{
15
    /**
16
     * The name and signature of the console command.
17
     *
18
     * @var string
19
     */
20
    protected $signature = 'bantenprov:anggaran';
21
22
    /**
23
     * The console command description.
24
     *
25
     * @var string
26
     */
27
    protected $description = 'Demo command for Bantenprov\Anggaran package';
28
29
    /**
30
     * Create a new command instance.
31
     *
32
     * @return void
33
     */
34
    public function __construct()
35
    {
36
        parent::__construct();
37
    }
38
39
    /**
40
     * Execute the console command.
41
     *
42
     * @return mixed
43
     */
44
    public function handle()
45
    {
46
        $this->info('Welcome to command for Bantenprov\Anggaran package');
47
    }
48
}
49