Inspire   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

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