jonnybarnes.uk/app/Console/Kernel.php

44 lines
981 B
PHP
Raw Normal View History

2016-05-19 15:01:28 +01:00
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
2016-09-09 12:14:00 +01:00
Commands\SecurityCheck::class,
2016-09-17 20:50:22 +01:00
Commands\ParseCachedWebMentions::class,
Commands\ReDownloadWebMentions::class,
Commands\GenerateToken::class,
2016-05-19 15:01:28 +01:00
];
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')
// ->hourly();
}
2016-09-06 16:40:39 +01:00
/**
* Register the Closure based commands for the application.
*
* @return void
*/
protected function commands()
{
require base_path('routes/console.php');
}
2016-05-19 15:01:28 +01:00
}