yii\queue\closure\Job - Yii2 类参考手册
Class yii\queue\closure\Job
Inheritance | yii\queue\closure\Job |
---|---|
Implements | yii\queue\JobInterface |
Closure Job
Public Properties
隐藏继承的属性 Hide inherited properties
属性Property | 类型 Type | 简介 Description | 定义在 Defined By |
---|---|---|---|
$serialized | string | Serialized closure | yii\queue\closure\Job |
Public Methods
隐藏继承的方法 Hide inherited methods
方法 Method | 简介 Description | 定义在 Defined By |
---|---|---|
execute() | Unserializes and executes a closure | yii\queue\closure\Job |
属性详情 Property Details
方法详情 Method Details
Unserializes and executes a closure
public void execute ( $queue ) | ||
$queue | yii\queue\Queue | Which pushed and is handling the job |