Completed
Pull Request — master (#4)
by Gaige
56s
created

VasriCommand   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 32
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A handle() 0 6 1
1
<?php
2
3
4
namespace ExoUNX\Vasri\Commands;
5
6
use Illuminate\Console\Command;
7
use ExoUNX\Vasri\ManifestBuilder;
8
9
/**
10
 * Class VasriCommand
11
 *
12
 * @package ExoUNX\Vasri
13
 * @author  Gaige Lama <[email protected]>
14
 * @license MIT License
15
 * @link    https://github.com/ExoUNX/Vasri
16
 */
17
class VasriCommand extends Command
18
{
19
    /**
20
     * Command signature
21
     * @var string
22
     */
23
    protected $signature = 'vasri:build';
24
25
    /**
26
     * Command description
27
     * @var string
28
     */
29
    protected $description = 'Build Manifest';
30
31
    /**
32
     * Inherits constructor from Illuminate\Console\Command
33
     */
34
    public function __construct()
35
    {
36
        parent::__construct();
37
    }
38
39
    /**
40
     * The executing method
41
     */
42
    public function handle()
43
    {
44
        $manifest = new ManifestBuilder();
45
46
        $manifest->deployManifest();
47
    }
48
}
49