ldc-portsalaries/app/Console/Kernel.php

45 lines
910 B
PHP
Raw Permalink Normal View History

2021-04-22 17:22:26 +02:00
<?php
namespace App\Console;
2021-05-08 06:50:19 +02:00
use App\Console\Commands\UserChangePassword;
use App\Console\Commands\UserCreate;
2021-04-22 17:22:26 +02:00
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
2021-05-08 06:50:19 +02:00
2021-04-22 17:22:26 +02:00
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
2021-05-08 06:50:19 +02:00
UserChangePassword::class,
UserCreate::class
2021-04-22 17:22:26 +02:00
];
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
}
/**
* Register the commands for the application.
*
* @return void
*/
protected function commands()
{
2021-05-08 06:50:19 +02:00
$this->load(__DIR__ . '/Commands');
2021-04-22 17:22:26 +02:00
require base_path('routes/console.php');
}
}