18 lines
340 B
PHP
18 lines
340 B
PHP
<?php
|
|
|
|
namespace App\Jobs;
|
|
|
|
use App\Services\BookingService;
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
use Illuminate\Foundation\Queue\Queueable;
|
|
|
|
class CheckNoShowBookings implements ShouldQueue
|
|
{
|
|
use Queueable;
|
|
|
|
public function handle(BookingService $bookingService): void
|
|
{
|
|
$bookingService->checkNoShows();
|
|
}
|
|
}
|