Files
nuhodds_fi4/app/Console/Commands/Upd.php
T
2026-10-04 15:25:03 +02:00

23 lines
477 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 ss_player_seasons';
public function handleUpdate(int $playerCount): void
{
// Have fun running imports here
// Examples can be found in the ImportHelper trait
$this->updatePlayers($playerCount);
}
}