MCPcopy Create free account
hub / github.com/CoderOpen/waimai / Kernel

Class Kernel

app/Console/Kernel.php:8–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
7
8class Kernel extends ConsoleKernel
9{
10 /**
11 * The Artisan commands provided by your application.
12 *
13 * @var array
14 */
15 protected $commands = [
16 //
17 ];
18
19 /**
20 * Define the application's command schedule.
21 *
22 * @param \Illuminate\Console\Scheduling\Schedule $schedule
23 * @return void
24 */
25 protected function schedule(Schedule $schedule)
26 {
27 // $schedule->command('inspire')
28 // ->hourly();
29 }
30
31 /**
32 * Register the commands for the application.
33 *
34 * @return void
35 */
36 protected function commands()
37 {
38 $this->load(__DIR__.'/Commands');
39 $this->load(__DIR__.'/Spider');
40
41
42 require base_path('routes/console.php');
43 }
44}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected