Kernel::commands()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace App\Console;
4
5
use Illuminate\Console\Scheduling\Schedule;
6
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
7
use Spatie\ArtisanDd\DdCommand;
8
9
class Kernel extends ConsoleKernel
10
{
11
    /**
12
     * The Artisan commands provided by your application.
13
     *
14
     * @var array
15
     */
16
    protected $commands = [
17
        DdCommand::class,
18
19
    ];
20
21
    /**
22
     * Define the application's command schedule.
23
     *
24
     * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
25
     * @return void
26
     */
27
    protected function schedule(Schedule $schedule)
28
    {
29
        // $schedule->command('inspire')
30
        //          ->hourly();
31
    }
32
33
    /**
34
     * Register the commands for the application.
35
     *
36
     * @return void
37
     */
38
    protected function commands()
39
    {
40
        $this->load(__DIR__ . '/Commands');
41
42
        require base_path('routes/console.php');
43
    }
44
}
45