yii\queue\closure\Job - Yii2 类参考手册

Class yii\queue\closure\Job

Inheritanceyii\queue\closure\Job
Implementsyii\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

$serialized public property

Serialized closure

public string $serialized null

方法详情 Method Details

execute() public method

Unserializes and executes a closure

public void execute ( $queue )
$queue yii\queue\Queue

Which pushed and is handling the job