class DatabaseJobRecord

Properties

int $id
string $payload
int $attempts
null|int $reserved_at

Methods

__construct(stdClass $record)

Create a new job record instance.

int
increment()

Increment the number of times the job has been attempted.

int
touch()

Update the "reserved at" timestamp of the job.

mixed
__get(string $key)

Dynamically access the underlying job information.

Details

at line 21
__construct(stdClass $record)

Create a new job record instance.

Parameters

stdClass $record

at line 29
int increment()

Increment the number of times the job has been attempted.

Return Value

int

at line 39
int touch()

Update the "reserved at" timestamp of the job.

Return Value

int

at line 49
mixed __get(string $key)

Dynamically access the underlying job information.

Parameters

string $key

Return Value

mixed