Skip to content

Instantly share code, notes, and snippets.

@bsadnu
Last active October 14, 2016 07:42
Show Gist options
  • Save bsadnu/e47e970336a8dd84629932b79476f572 to your computer and use it in GitHub Desktop.
Save bsadnu/e47e970336a8dd84629932b79476f572 to your computer and use it in GitHub Desktop.
Extends Appzcoder\CrudGenerator. Adds custom commands
<?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 = [
// Commands\Inspire::class,
Commands\CrudViewCommandCustom::class,
Commands\CrudLangCommandCustom::class,
];
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')
// ->hourly();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment