wip
This commit is contained in:
1 parent
f028a8b2a8
commit
60ab054eb2
5 files changed
+18
-16
No files matched your search
@@ -10,13 +10,13 @@ use App\Console\Commands\Grapper\Sofascore\Rose;
|
||||
use App\Console\Commands\Grapper\Sofascore\SendMail;
|
||||
use App\Console\Commands\Grapper\Sofascore\SettingsToLocal;
|
||||
use App\Console\Commands\Grapper\Sofascore\SqlMover;
|
||||
use App\Traits\UpdatePlayerSeasonHelper;
|
||||
use App\Traits\UpdateHelper;
|
||||
use App\Utilities\Notice;
|
||||
use Illuminate\Console\Command;
|
||||
|
||||
class Grap extends Command
|
||||
{
|
||||
use UpdatePlayerSeasonHelper;
|
||||
use UpdateHelper;
|
||||
|
||||
public static $options = [];
|
||||
|
||||
|
||||
@@ -2,19 +2,21 @@
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\Traits\UpdatePlayerSeasonHelper;
|
||||
use App\Traits\UpdateHelper;
|
||||
use Illuminate\Console\Command;
|
||||
|
||||
class Upd extends Command
|
||||
{
|
||||
use UpdatePlayerSeasonHelper;
|
||||
use UpdateHelper;
|
||||
|
||||
protected $signature = 'upd {--d}';
|
||||
protected $signature = 'update:player {--d}';
|
||||
|
||||
protected $description = 'update sofa_score_player_per_seasons';
|
||||
|
||||
public function handleUpdate(int $playerCount): void
|
||||
{
|
||||
$this->update($playerCount);
|
||||
// Have fun running imports here
|
||||
// Examples can be found in the ImportHelper trait
|
||||
$this->updatePlayers($playerCount);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user