3 namespace App\Console\Commands;
6 use Illuminate\Console\Command;
8 class RecalculateRoundPlacements extends Command
11 * The name and signature of the console command.
15 protected $signature = 'round:recalc {round}';
18 * The console command description.
22 protected $description = 'Recalculate round placements';
25 * Execute the console command.
29 public function handle()
31 $round = Round::findOrFail($this->argument('round'));
33 $round->updatePlacement();