2024-01-10 12:57:24 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Console;
|
|
|
|
|
|
|
|
use Illuminate\Console\Scheduling\Schedule;
|
|
|
|
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
|
|
|
|
|
|
|
class Kernel extends ConsoleKernel
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Define the application's command schedule.
|
|
|
|
*/
|
|
|
|
protected function schedule(Schedule $schedule): void
|
|
|
|
{
|
|
|
|
// $schedule->command('inspire')->hourly();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Register the commands for the application.
|
|
|
|
*/
|
|
|
|
protected function commands(): void
|
|
|
|
{
|
2024-01-11 17:05:53 +03:00
|
|
|
$this->load(__DIR__ . '/Commands');
|
2024-01-10 12:57:24 +03:00
|
|
|
|
|
|
|
require base_path('routes/console.php');
|
|
|
|
}
|
|
|
|
}
|