PHP Класс Dusterio\AwsWorker\Jobs\AwsJob

Наследование: extends Illuminate\Queue\Jobs\Job, implements Illuminate\Contracts\Queue\Job
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$job array The Amazon SQS job instance.

Открытые методы

Метод Описание
__construct ( Illuminate\Container\Container $container, string $queue, array $job ) Create a new job instance.
attempts ( ) : integer Get the number of times the job has been attempted.
delete ( ) : void Actually, AWS will do this for us, we just need to mark the job as deleted
fire ( ) : void Fire the job.
getContainer ( ) : Illuminate\Container\Container Get the IoC container instance.
getJobId ( ) : string Get the job identifier.
getRawBody ( ) : string Get the raw body string for the job.
getSqs ( ) : Aws\Sqs\SqsClient We don't need an underlying SQS client instance.
getSqsJob ( ) : array Get the underlying raw SQS job.
release ( integer $delay ) : void AWS daemon will do this for us

Описание методов

__construct() публичный Метод

Create a new job instance.
public __construct ( Illuminate\Container\Container $container, string $queue, array $job )
$container Illuminate\Container\Container
$queue string
$job array

attempts() публичный Метод

Get the number of times the job has been attempted.
public attempts ( ) : integer
Результат integer

delete() публичный Метод

Actually, AWS will do this for us, we just need to mark the job as deleted
public delete ( ) : void
Результат void

fire() публичный Метод

Fire the job.
public fire ( ) : void
Результат void

getContainer() публичный Метод

Get the IoC container instance.
public getContainer ( ) : Illuminate\Container\Container
Результат Illuminate\Container\Container

getJobId() публичный Метод

Get the job identifier.
public getJobId ( ) : string
Результат string

getRawBody() публичный Метод

Get the raw body string for the job.
public getRawBody ( ) : string
Результат string

getSqs() публичный Метод

We don't need an underlying SQS client instance.
public getSqs ( ) : Aws\Sqs\SqsClient
Результат Aws\Sqs\SqsClient

getSqsJob() публичный Метод

Get the underlying raw SQS job.
public getSqsJob ( ) : array
Результат array

release() публичный Метод

AWS daemon will do this for us
public release ( integer $delay ) : void
$delay integer
Результат void

Описание свойств

$job защищенное свойство

The Amazon SQS job instance.
protected array $job
Результат array