\Pivot\Queue\EntitiesQueueJob

ProcessingQueueJobs

Summary

Methods
Properties
Constants
__construct()
getId()
setId()
getType()
setType()
getStatus()
setStatus()
getDateCreated()
setDateCreated()
getDateStarted()
setDateStarted()
getDateCompleted()
setDateCompleted()
getPayload()
setPayload()
getMessage()
setMessage()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$owner
$id
$type
$status
$dateCreated
$dateStarted
$dateCompleted
$payload
$message
N/A

Properties

$id

$id : integer

ID of queue job

Type

integer

$type

$type : string

Type of queue job

Type

string

$status

$status : string

Status of the job

Type

string

$dateCreated

$dateCreated : \Pivot\Queue\Entities\datetime

Date job was created

Type

\Pivot\Queue\Entities\datetime

$dateStarted

$dateStarted : \Pivot\Queue\Entities\datetime

Date job was started

Type

\Pivot\Queue\Entities\datetime

$dateCompleted

$dateCompleted : \Pivot\Queue\Entities\datetime

Date job was completed

Type

\Pivot\Queue\Entities\datetime

$payload

$payload : string

Payload of the job

Type

string

$message

$message : string

Message of the job

Type

string

Methods

__construct()

__construct() 

Set the job as pending and date created as now

getId()

getId() : integer

Get the value of Id

Returns

integer

setId()

setId(  $id) : self

Set the value of Id

Parameters

$id

Returns

self

getType()

getType() : string

Get the value of Type of queue job

Returns

string

setType()

setType(  $type) : self

Set the value of Type of queue job

Parameters

$type

Returns

self

getStatus()

getStatus() : string

Get the value of Status of the job

Returns

string

setStatus()

setStatus(  $status) : self

Set the value of Status of the job

Parameters

$status

Returns

self

getDateCreated()

getDateCreated() : \Pivot\Queue\Entities\datetime

Get the value of Date job was created

Returns

\Pivot\Queue\Entities\datetime

setDateCreated()

setDateCreated(\datetime  $dateCreated) : self

Set the value of Date job was created

Parameters

\datetime $dateCreated

Returns

self

getDateStarted()

getDateStarted() : \Pivot\Queue\Entities\datetime

Get the value of Date job was started

Returns

\Pivot\Queue\Entities\datetime

setDateStarted()

setDateStarted(\datetime  $dateStarted) : self

Set the value of Date job was started

Parameters

\datetime $dateStarted

Returns

self

getDateCompleted()

getDateCompleted() : \Pivot\Queue\Entities\datetime

Get the value of Date job was completed

Returns

\Pivot\Queue\Entities\datetime

setDateCompleted()

setDateCompleted(\datetime  $dateCompleted) : self

Set the value of Date job was completed

Parameters

\datetime $dateCompleted

Returns

self

getPayload()

getPayload() : string

Get the value of Payload of the job

Returns

string

setPayload()

setPayload(  $payload) : self

Set the value of Payload of the job

Parameters

$payload

Returns

self

getMessage()

getMessage() : string

Get the value of Message of the job

Returns

string

setMessage()

setMessage(  $message) : self

Set the value of Message of the job

Parameters

$message

Returns

self