<?php declare(strict_types=1); /** * +---------------------------------------------------------------------- * | 闄€铻哄尃 [ 璧嬭兘寮€鍙戣€咃紝鍔╁姏浼佷笟鍙戝睍 ] * +---------------------------------------------------------------------- * | Copyright (c) 2016~2024 https://www.tuoluojiang.com All rights reserved. * +---------------------------------------------------------------------- * | Licensed 闄€铻哄尃骞朵笉鏄嚜鐢辫蒋浠讹紝鏈粡璁稿彲涓嶈兘鍘绘帀闄€铻哄尃鐩稿叧鐗堟潈 * +---------------------------------------------------------------------- * | Author: 闄€铻哄尃 Team <admin@tuoluojiang.com> * +---------------------------------------------------------------------- */ namespace App\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ ]; /** * Define the application's command schedule. */ protected function schedule(Schedule $schedule) { // $schedule->command('inspire')->hourly(); } /** * Register the commands for the application. */ protected function commands() { $this->load(__DIR__ . '/Commands'); require base_path('routes/console.php'); } }