Files
SkinbaseNova/app/Jobs/RebuildTrendingNovaCardsJob.php
2026-03-28 19:15:39 +01:00

22 lines
550 B
PHP

<?php
declare(strict_types=1);
namespace App\Jobs;
use App\Services\NovaCards\NovaCardTrendingService;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class RebuildTrendingNovaCardsJob implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
public function handle(NovaCardTrendingService $trending): void
{
$trending->rebuildAll();
}
}