FailedJob
A job whose retries were exhausted, handed to a FailedJobStoreInterface.
Synopsis
Section titled “Synopsis”final readonly class FailedJob
| Source | FailedJob.php |
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
$attempts | int | readonly. |
$exceptionClass | string | readonly. |
$exceptionMessage | string | readonly. |
$exceptionTrace | string | readonly. |
$jobClass | string | readonly. |
$params | array | readonly. |
Constructor
Section titled “Constructor”__construct()
Section titled “__construct()”public function __construct(class-string<Job> $jobClass, array<string, mixed> $params, string $exceptionClass, string $exceptionMessage, string $exceptionTrace, int $attempts): mixed
| Parameter | Type | Description |
|---|---|---|
$jobClass | class-string``<Job> | |
$params | array``<``string``, ``mixed``> | |
$exceptionClass | string | |
$exceptionMessage | string | |
$exceptionTrace | string | |
$attempts | int |
Returns mixed