for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Innoflash\Events\Jobs\Saved;
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;
use Innoflash\Events\Models\Event;
class S3Upload implements ShouldQueue
{
use Dispatchable,
Illuminate\Queue\SerializesModels
Innoflash\Events\Jobs\Saved\S3Upload
$id
$relations
$class
$keyBy
FaithGen\SDK\Traits\SavesToAmazonS3
$name
$images
InteractsWithQueue,
Queueable,
SerializesModels,
SavesToAmazonS3;
public $deleteWhenMissingModels = true;
protected $event;
/**
* Create a new job instance.
*
* @return void
*/
public function __construct(Event $event)
$this->event = $event;
}
* Execute the job.
public function handle()
$this->saveFiles($this->event);