command('model:prune', [ '--model' => [ \App\Models\Setting::class ] ]) ->description("Prune expired settings") ->everyTwoHours(); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }