2022-08-06 03:23:58 -06:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Jobs\ProfilePipeline;
|
|
|
|
|
|
|
|
use Illuminate\Bus\Queueable;
|
|
|
|
use Illuminate\Contracts\Queue\ShouldBeUnique;
|
|
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
|
|
use Illuminate\Foundation\Bus\Dispatchable;
|
|
|
|
use Illuminate\Queue\InteractsWithQueue;
|
|
|
|
use Illuminate\Queue\SerializesModels;
|
2023-11-13 06:11:39 -07:00
|
|
|
use Illuminate\Queue\Middleware\WithoutOverlapping;
|
|
|
|
use Illuminate\Contracts\Queue\ShouldBeUniqueUntilProcessing;
|
2022-08-06 03:23:58 -06:00
|
|
|
use App\Profile;
|
|
|
|
use App\Status;
|
|
|
|
use App\Services\AccountService;
|
|
|
|
|
2024-02-04 02:53:40 -07:00
|
|
|
class IncrementPostCount implements ShouldQueue
|
2022-08-06 03:23:58 -06:00
|
|
|
{
|
2023-03-03 04:54:28 -07:00
|
|
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
|
|
|
|
|
|
|
public $id;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new job instance.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function __construct($id)
|
|
|
|
{
|
|
|
|
$this->id = $id;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Execute the job.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function handle()
|
|
|
|
{
|
2024-02-04 02:53:40 -07:00
|
|
|
// deprecated
|
|
|
|
return;
|
2023-03-03 04:54:28 -07:00
|
|
|
}
|
2022-08-06 03:23:58 -06:00
|
|
|
}
|