1
0
mirror of https://github.com/devfake/flox.git synced 2024-11-15 14:42:31 +01:00
flox/backend/app/Console/Kernel.php
Viktor Geringer 7544dbb688 display release dates for episodes (#58)
* remove laravel scout

* misc

* refactor with helper function and php 7

* display and refresh relases

* add translations

* add migration test

* remove refresh release dates

* update production files

* remove laravel scout fragments
2017-03-04 02:01:50 +01:00

46 lines
998 B
PHP

<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
use Laravel\Scout\Console\FlushCommand;
use Laravel\Scout\Console\ImportCommand;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
Commands\Init::class,
Commands\DB::class,
ImportCommand::class,
FlushCommand::class,
];
/**
* 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');
}
}