Inspire   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 27
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 4 1
1
<?php namespace WITR\Console\Commands;
2
3
use Illuminate\Console\Command;
4
use Illuminate\Foundation\Inspiring;
5
use Symfony\Component\Console\Input\InputOption;
6
use Symfony\Component\Console\Input\InputArgument;
7
8
class Inspire extends Command {
9
10
	/**
11
	 * The console command name.
12
	 *
13
	 * @var string
14
	 */
15
	protected $name = 'inspire';
16
17
	/**
18
	 * The console command description.
19
	 *
20
	 * @var string
21
	 */
22
	protected $description = 'Display an inspiring quote';
23
24
	/**
25
	 * Execute the console command.
26
	 *
27
	 * @return mixed
28
	 */
29
	public function handle()
30
	{
31
		$this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
32
	}
33
34
}
35