class DoormanQueuedJobTask implements Task, Expires, Process, Cancellable (View source)

Properties

protected int $id
protected QueuedJobDescriptor $descriptor

Methods

protected
refreshDescriptor()

Reload descriptor from DB

public
null|int
getId()

No description

public
$this
setId(int $id)

No description

public
getDescriptor()

No description

public
__construct(QueuedJobDescriptor $descriptor)

No description

public
string
serialize()

No description

public
unserialize($serialized)

No description

public
string
getHandler()

No description

public
array
getData()

No description

public
bool
ignoresRules()

No description

public
bool
stopsSiblings()

No description

public
int
getExpiresIn()

No description

public
bool
shouldExpire(int $startedAt)

No description

public
bool
canRunTask()

No description

public
bool
isCancelled()

No description

Details

protected refreshDescriptor()

Reload descriptor from DB

null|int getId()

No description

Return Value

null|int

$this setId(int $id)

No description

Parameters

int $id

Return Value

$this

QueuedJobDescriptor getDescriptor()

No description

Return Value

QueuedJobDescriptor

__construct(QueuedJobDescriptor $descriptor)

No description

Parameters

QueuedJobDescriptor $descriptor

string serialize()

No description

Return Value

string

unserialize($serialized)

No description

Parameters

$serialized

Exceptions

InvalidArgumentException

string getHandler()

No description

Return Value

string

array getData()

No description

Return Value

array

bool ignoresRules()

No description

Return Value

bool

bool stopsSiblings()

No description

Return Value

bool

int getExpiresIn()

No description

Return Value

int

bool shouldExpire(int $startedAt)

No description

Parameters

int $startedAt

Return Value

bool

bool canRunTask()

No description

Return Value

bool

bool isCancelled()

No description

Return Value

bool