for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PiFinder\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 = [
\PiFinder\Console\Commands\FlushOldDevices::class,
\PiFinder\Console\Commands\UserCreate::class,
\PiFinder\Console\Commands\UserDelete::class,
];
* Define the application's command schedule.
* @param \Illuminate\Console\Scheduling\Schedule $schedule
protected function schedule(Schedule $schedule)
$schedule->command('pi:flush')
->everyFiveMinutes();
}
* Register the Closure based commands for the application.
* @return void
protected function commands()
require base_path('routes/console.php');