Last active
October 14, 2016 07:42
-
-
Save bsadnu/e47e970336a8dd84629932b79476f572 to your computer and use it in GitHub Desktop.
Extends Appzcoder\CrudGenerator. Adds custom commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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