ldc-cocotte/app/Jobs/UpdateSlidesStatus.php

27 lines
572 B
PHP
Raw Permalink Normal View History

2026-06-14 21:32:07 +02:00
<?php
declare(strict_types=1);
namespace App\Jobs;
use App\Contracts\ActionInputEmpty;
use App\Contracts\Executor;
use App\Cqs\Actions\Slides\UpdateSlidesStatus as UpdateSlidesStatusAction;
2026-06-14 21:32:07 +02:00
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Queue\Queueable;
class UpdateSlidesStatus implements ShouldQueue
{
use Queueable;
/**
* Execute the job.
*/
public function handle(
Executor $executor,
UpdateSlidesStatusAction $action,
): void {
$executor->execute($action, new ActionInputEmpty());
2026-06-14 21:32:07 +02:00
}
}