Completed
Push — master ( 6e7f92...abdc6e )
by Péter
04:04
created

Kernel::schedule()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
3
namespace App\Console;
4
5
use App\Commands\ServeCommand;
6
use Illuminate\Console\Scheduling\Schedule;
7
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
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
        ServeCommand::class,
18
    ];
19
20
    /**
21
     * Register the Closure based commands for the application.
22
     *
23
     * @return void
24
     */
25
    protected function commands()
26
    {
27
        require base_path('routes/console.php');
28
    }
29
}
30