ldc-legaulois/app/Console/Kernel.php

32 lines
630 B
PHP
Raw Normal View History

2020-07-23 10:29:36 +02:00
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
2024-01-10 14:49:46 +01:00
* Define the application's command schedule.
2020-07-23 10:29:36 +02:00
*
2024-01-10 14:49:46 +01:00
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
2020-07-23 10:29:36 +02:00
*/
2024-01-10 14:49:46 +01:00
protected function schedule(Schedule $schedule)
{
}
2020-07-23 10:29:36 +02:00
/**
2024-01-10 14:49:46 +01:00
* Register the commands for the application.
2020-07-23 10:29:36 +02:00
*
* @return void
*/
2024-01-10 14:49:46 +01:00
protected function commands()
2020-07-23 10:29:36 +02:00
{
2024-01-10 14:49:46 +01:00
$this->load(__DIR__ . '/Commands');
2024-01-10 14:49:46 +01:00
require base_path('routes/console.php');
2020-07-23 10:29:36 +02:00
}
}