Kernel   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 23
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A schedule() 0 5 1
1
<?php
2
3
namespace App\Console;
4
5
use Illuminate\Console\Scheduling\Schedule;
6
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
7
8
/**
9
 * Class Kernel
10
 * @package App\Console
11
 */
12
class Kernel extends ConsoleKernel
13
{
14
    /**
15
     * The Artisan commands provided by your application.
16
     *
17
     * @var array
18
     */
19
    protected $commands = [
20
        \App\Console\Commands\Inspire::class,
21
    ];
22
23
    /**
24
     * Define the application's command schedule.
25
     *
26
     * @param  \Illuminate\Console\Scheduling\Schedule $schedule
27
     * @return void
28
     */
29
    protected function schedule(Schedule $schedule)
30
    {
31
        $schedule->command('inspire')
32
            ->hourly();
33
    }
34
}
35