Файл: gapps/vendor/laravel/framework/src/Illuminate/Queue/Events/JobFailed.php
Строк: 47
<?php
namespace IlluminateQueueEvents;
class JobFailed
{
/**
* The connection name.
*
* @var string
*/
public $connectionName;
/**
* The job instance.
*
* @var IlluminateContractsQueueJob
*/
public $job;
/**
* The data given to the job.
*
* @var array
*/
public $data;
/**
* The ID of the entry in the failed jobs table.
*
* @var int|null
*/
public $failedId;
/**
* Create a new event instance.
*
* @param string $connectionName
* @param IlluminateContractsQueueJob $job
* @param array $data
* @param int|null $failedId
* @return void
*/
public function __construct($connectionName, $job, $data, $failedId = null)
{
$this->job = $job;
$this->data = $data;
$this->failedId = $failedId;
$this->connectionName = $connectionName;
}
}