Changeset View
Changeset View
Standalone View
Standalone View
src/app/Console/Kernel.php
Show All 32 Lines | class Kernel extends ConsoleKernel | ||||
* Register the commands for the application. | * Register the commands for the application. | ||||
* | * | ||||
* @return void | * @return void | ||||
*/ | */ | ||||
protected function commands() | protected function commands() | ||||
{ | { | ||||
$this->load(__DIR__ . '/Commands'); | $this->load(__DIR__ . '/Commands'); | ||||
if (\app('env') != 'production') { | |||||
$this->load(__DIR__ . '/Development'); | |||||
} | |||||
include base_path('routes/console.php'); | include base_path('routes/console.php'); | ||||
} | } | ||||
} | } |