2015-06-01 15:43:37 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Console;
|
2014-10-20 11:14:41 -05:00
|
|
|
|
2014-11-18 22:48:38 -06:00
|
|
|
use Illuminate\Console\Scheduling\Schedule;
|
2014-10-20 11:14:41 -05:00
|
|
|
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
|
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
class Kernel extends ConsoleKernel
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* The Artisan commands provided by your application.
|
|
|
|
|
*
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
|
|
|
|
protected $commands = [
|
2016-08-16 19:44:28 -05:00
|
|
|
//
|
2015-02-22 20:47:03 -06:00
|
|
|
];
|
2014-10-20 11:14:41 -05:00
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
/**
|
|
|
|
|
* Define the application's command schedule.
|
|
|
|
|
*
|
|
|
|
|
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
protected function schedule(Schedule $schedule)
|
|
|
|
|
{
|
2015-12-22 17:50:14 -02:00
|
|
|
// $schedule->command('inspire')
|
|
|
|
|
// ->hourly();
|
2015-02-22 20:47:03 -06:00
|
|
|
}
|
2016-05-09 11:16:31 -05:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Register the Closure based commands for the application.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
protected function commands()
|
|
|
|
|
{
|
2016-08-16 19:44:28 -05:00
|
|
|
require base_path('routes/console.php');
|
2016-05-09 11:16:31 -05:00
|
|
|
}
|
2014-10-20 11:14:41 -05:00
|
|
|
}
|