openstamanager/app/Console/Kernel.php

37 lines
763 B
PHP
Raw Normal View History

2021-07-30 19:26:02 +02:00
<?php
/** @noinspection PropertyInitializationFlawsInspection */
2021-07-30 19:26:02 +02:00
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 = [];
2021-07-30 19:26:02 +02:00
/**
* Define the application's command schedule.
*/
protected function schedule(Schedule $schedule): void
2021-07-30 19:26:02 +02:00
{
// $schedule->command('inspire')->hourly();
}
/**
* Register the commands for the application.
*/
protected function commands(): void
2021-07-30 19:26:02 +02:00
{
$this->load(__DIR__.'/Commands');
require base_path('routes/console.php');
}
}