初始化项目
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace think\queue\event;
|
||||
|
||||
use think\queue\Job;
|
||||
|
||||
class JobFailed
|
||||
{
|
||||
/** @var string */
|
||||
public $connection;
|
||||
|
||||
/** @var Job */
|
||||
public $job;
|
||||
|
||||
/** @var \Exception */
|
||||
public $exception;
|
||||
|
||||
public function __construct($connection, $job, $exception)
|
||||
{
|
||||
$this->connection = $connection;
|
||||
$this->job = $job;
|
||||
$this->exception = $exception;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user