class JobAttempted (View source)

Properties

string $connectionName

The connection name.

Job $job

The job instance.

bool $exceptionOccurred

Indicates if an exception occurred while processing the job.

Methods

void
__construct(string $connectionName, Job $job, bool $exceptionOccurred = false)

Create a new event instance.

bool
successful()

Determine if the job completed with failing or an unhandled exception occurring.

Details

void __construct(string $connectionName, Job $job, bool $exceptionOccurred = false)

Create a new event instance.

Parameters

string $connectionName
Job $job
bool $exceptionOccurred

Return Value

void

bool successful()

Determine if the job completed with failing or an unhandled exception occurring.

Return Value

bool

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.