SmartCane/laravel_app/app/Jobs/NullJob.php

35 lines
653 B
PHP

<?php
namespace App\Jobs;
use Illuminate\Bus\Batchable;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class NullJob implements ShouldQueue
{
use Batchable, Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
/**
* Create a new job instance.
*/
public function __construct()
{
logger('NullJob construct called');
}
/**
* Execute the job.
*/
public function handle(): void
{
logger('NullJob handle called');
}
}