for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace FaithGen\News\Jobs;
use FaithGen\News\Models\News;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class MessageFollowers implements ShouldQueue
{
use Dispatchable,
InteractsWithQueue,
Queueable,
SerializesModels;
public bool $deleteWhenMissingModels = true;
protected News $article;
/**
* Create a new job instance.
*
* @param News $article
*/
public function __construct(News $article)
$this->article = $article;
}
* Execute the job.
* @return void
public function handle()
//