DatabaseJobRecord (Queue\Jobs)

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部