interface Job (View source)

Methods

void
fire()

Fire the job.

void
delete()

Delete the job from the queue.

bool
isDeleted()

Determine if the job has been deleted.

void
release( int $delay)

Release the job back into the queue.

bool
isDeletedOrReleased()

Determine if the job has been deleted or released.

int
attempts()

Get the number of times the job has been attempted.

string
getName()

Get the name of the queued job class.

void
failed()

Call the failed method on the job instance.

string
getQueue()

Get the name of the queue the job belongs to.

string
getRawBody()

Get the raw body string for the job.

Details

at line line 12
void fire()

Fire the job.

Return Value

void

at line line 19
void delete()

Delete the job from the queue.

Return Value

void

at line line 26
bool isDeleted()

Determine if the job has been deleted.

Return Value

bool

at line line 34
void release( int $delay)

Release the job back into the queue.

Parameters

int $delay

Return Value

void

at line line 41
bool isDeletedOrReleased()

Determine if the job has been deleted or released.

Return Value

bool

at line line 48
int attempts()

Get the number of times the job has been attempted.

Return Value

int

at line line 55
string getName()

Get the name of the queued job class.

Return Value

string

at line line 62
void failed()

Call the failed method on the job instance.

Return Value

void

at line line 69
string getQueue()

Get the name of the queue the job belongs to.

Return Value

string

at line line 76
string getRawBody()

Get the raw body string for the job.

Return Value

string