first commit
This commit is contained in:
36
vendor/yiisoft/yii2-queue/src/JobEvent.php
vendored
Normal file
36
vendor/yiisoft/yii2-queue/src/JobEvent.php
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* @link https://www.yiiframework.com/
|
||||
* @copyright Copyright (c) 2008 Yii Software LLC
|
||||
* @license https://www.yiiframework.com/license/
|
||||
*/
|
||||
|
||||
namespace yii\queue;
|
||||
|
||||
use yii\base\Event;
|
||||
|
||||
/**
|
||||
* Job Event.
|
||||
*
|
||||
* @author Roman Zhuravlev <zhuravljov@gmail.com>
|
||||
*/
|
||||
abstract class JobEvent extends Event
|
||||
{
|
||||
/**
|
||||
* @var Queue
|
||||
* @inheritdoc
|
||||
*/
|
||||
public $sender;
|
||||
/**
|
||||
* @var string|null unique id of a job
|
||||
*/
|
||||
public $id;
|
||||
/**
|
||||
* @var JobInterface|null
|
||||
*/
|
||||
public $job;
|
||||
/**
|
||||
* @var int time to reserve in seconds of the job
|
||||
*/
|
||||
public $ttr;
|
||||
}
|
||||
Reference in New Issue
Block a user