1
0
mirror of https://github.com/devfake/flox.git synced 2024-11-15 22:52:32 +01:00
flox/backend/app/Console/Kernel.php

47 lines
1.0 KiB
PHP
Raw Normal View History

2016-10-10 10:57:39 +02:00
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
2016-10-19 11:19:34 +02:00
use Laravel\Scout\Console\FlushCommand;
use Laravel\Scout\Console\ImportCommand;
2016-10-10 10:57:39 +02:00
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
Commands\Init::class,
Commands\DB::class,
Commands\Sync::class,
2016-10-19 11:19:34 +02:00
ImportCommand::class,
FlushCommand::class,
2016-10-10 10:57:39 +02:00
];
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')
// ->hourly();
}
/**
* Register the Closure based commands for the application.
*
* @return void
*/
protected function commands()
{
require base_path('routes/console.php');
}
}