MoipAssetsCommand::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php namespace SOSTheBlack\Moip\Commands;
2
3
use Illuminate\Console\Command;
4
5
class MoipAssetsCommand extends Command {
6
7
	/**
8
	 * The console command name.
9
	 *
10
	 * @var string
11
	 */
12
	protected $name = 'moip:assets';
13
14
	/**
15
	 * The console command description.
16
	 *
17
	 * @var string
18
	 */
19
	protected $description = 'Publicar assests view em sua aplicacao.';
20
21
	/**
22
	 * Create a new command instance.
23
	 *
24
	 * @return void
0 ignored issues
show
Comprehensibility Best Practice introduced by
Adding a @return annotation to constructors is generally not recommended as a constructor does not have a meaningful return value.

Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.

Please refer to the PHP core documentation on constructors.

Loading history...
25
	 */
26
	public function __construct()
27
	{
28
		parent::__construct();
29
	}
30
31
	/**
32
	 * Execute the console command.
33
	 *
34
	 * @return mixed
35
	 */
36
	public function fire()
37
	{
38
		$this->call('asset:publish', ['sostheblack/moip']);
39
	}
40
}
41