for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace FaithGen\SDK\Jobs\Users;
use FaithGen\SDK\Models\User;
use FaithGen\SDK\Traits\SavesToAmazonS3;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class S3Upload implements ShouldQueue
{
use Dispatchable,
FaithGen\SDK\Traits\SavesToAmazonS3
FaithGen\SDK\Jobs\Users\S3Upload
$name
$images
Illuminate\Queue\SerializesModels
$id
$relations
$class
$keyBy
InteractsWithQueue,
Queueable,
SerializesModels,
SavesToAmazonS3;
public bool $deleteWhenMissingModels = true;
/**
* @var User
*/
private User $user;
* Create a new job instance.
*
* @param User $user
public function __construct(User $user)
$this->user = $user;
}
* Execute the job.
* @return void
public function handle()
$this->saveFiles($this->user);