Files
nuhodds_fi4/app/Console/Commands/Upd.php
T
2026-09-11 10:49:49 +02:00

23 lines
489 B
PHP

<?php
namespace App\Console\Commands;
use App\Traits\UpdateHelper;
use Illuminate\Console\Command;
class Upd extends Command
{
use UpdateHelper;
protected $signature = 'update:player {--d}';
protected $description = 'update sofa_score_player_per_seasons';
public function handleUpdate(int $playerCount): void
{
// Have fun running imports here
// Examples can be found in the ImportHelper trait
$this->updatePlayers($playerCount);
}
}