Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
Kernel
n/a
0 / 0
n/a
0 / 0
2
n/a
0 / 0
 schedule
n/a
0 / 0
1
n/a
0 / 0
 commands
n/a
0 / 0
1
n/a
0 / 0
1<?php
2
3namespace App\Console;
4
5use App\Jobs\StartStatJobs;
6use Illuminate\Console\Scheduling\Schedule;
7use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
8
9/**
10 * @codeCoverageIgnore
11 */
12class Kernel extends ConsoleKernel
13{
14    /**
15     * The Artisan commands provided by your application.
16     *
17     * @var array
18     */
19    protected $commands = [];
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->job(StartStatJobs::class)->dailyAt('03:30');
30    }
31
32    /**
33     * Register the commands for the application.
34     *
35     * @return void
36     */
37    protected function commands()
38    {
39        $this->load(__DIR__ . '/Commands');
40
41        require base_path('routes/console.php');
42    }
43}