ldc-tregalette/app/Console/Commands/UpdateGamesStatus.php
2023-12-15 15:53:55 +00:00

33 lines
644 B
PHP

<?php
namespace App\Console\Commands;
use App\Jobs\GamesStatusUpdate;
use Illuminate\Console\Command;
class UpdateGamesStatus extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'uwil:updatestatus:games';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Update games status according to the publish and unpublish dates';
/**
* Execute the console command.
*
* @return void
*/
public function handle()
{
\dispatch(new GamesStatusUpdate());
}
}