43 lines
787 B
PHP
43 lines
787 B
PHP
<?php
|
|
|
|
namespace Illuminate\Queue\Events;
|
|
|
|
class JobExceptionOccurred
|
|
{
|
|
/**
|
|
* The connection name.
|
|
*
|
|
* @var string
|
|
*/
|
|
public $connectionName;
|
|
|
|
/**
|
|
* The job instance.
|
|
*
|
|
* @var \Illuminate\Contracts\Queue\Job
|
|
*/
|
|
public $job;
|
|
|
|
/**
|
|
* The exception instance.
|
|
*
|
|
* @var \Exception
|
|
*/
|
|
public $exception;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param string $connectionName
|
|
* @param \Illuminate\Contracts\Queue\Job $job
|
|
* @param \Exception $exception
|
|
* @return void
|
|
*/
|
|
public function __construct($connectionName, $job, $exception)
|
|
{
|
|
$this->job = $job;
|
|
$this->exception = $exception;
|
|
$this->connectionName = $connectionName;
|
|
}
|
|
}
|