W3cubDocs

/Laravel 5.4

DatabaseJobRecord

class DatabaseJobRecord (View source)

Traits

InteractsWithTime

Methods

void __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

void __construct(stdClass $record)

Create a new job record instance.

Parameters

stdClass $record

Return Value

void

int increment()

Increment the number of times the job has been attempted.

Return Value

int

int touch()

Update the "reserved at" timestamp of the job.

Return Value

int

mixed __get(string $key)

Dynamically access the underlying job information.

Parameters

string $key

Return Value

mixed

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Queue/Jobs/DatabaseJobRecord.html