Completed
Push — master ( 5d1483...c090d1 )
by Chris
03:05
created

InspirationalQuote::handle()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Cion\InspirationalQuotes\Console;
4
5
use Illuminate\Console\Command;
6
use Cion\InspirationalQuotes\Facades\InspirationalQuote as Inspiration;
7
8
class InspirationalQuote extends Command
9
{
10
    protected $signature = 'inspire';
11
12
    protected $description = 'Output an inspirational quote.';
13
14
    public function handle()
15
    {
16
        $this->info(Inspiration::getRandomQuote());
17
    }
18
}
19