Since: 4.1 , 传参遵循 guzzle options 加强自定义

class NotifyProJob extends Job implements ShouldQueue

增强型的 Guzzle 调用

Traits

Queueable

Methods

__construct(string $url, string $method, array $options = [], int $delay_times = 0)

统计用户计算数量

handle()

执行

setExecAt($time)

设置执行次数

Details

at line 74
__construct(string $url, string $method, array $options = [], int $delay_times = 0)

统计用户计算数量

Parameters

string $url

请求的URL 地址

string $method 请求的方法
array $options 请求的参数
int $delay_times 请求次数

Exceptions

ApplicationException

at line 94
handle()

执行

at line 123
NotifyProJob setExecAt($time)

设置执行次数

Parameters

$time

Return Value

NotifyProJob