DoormanQueuedJobTask
class DoormanQueuedJobTask implements Task, Expires, Process, Cancellable (View source)
Properties
protected | int | $id | ||
protected | QueuedJobDescriptor|null | $descriptor |
Methods
The __unserialize() magic method will be automatically used instead of this almost all the time This method will be automatically used if existing serialized data was not saved as an associative array and the PHP version used in less than PHP 9.0
Details
protected
refreshDescriptor()
Reload descriptor from DB
null|int
getId()
No description
$this
setId(int $id)
No description
QueuedJobDescriptor
getDescriptor()
No description
__construct(QueuedJobDescriptor $descriptor)
No description
array
__serialize()
No description
void
__unserialize(array $data)
No description
string
serialize()
deprecated
deprecated
The __serialize() magic method will be automatically used instead of this
unserialize($serialized)
deprecated
deprecated
The __unserialize() magic method will be automatically used instead of this almost all the time This method will be automatically used if existing serialized data was not saved as an associative array and the PHP version used in less than PHP 9.0
string
getHandler()
No description
array
getData()
No description
bool
ignoresRules()
No description
bool
stopsSiblings()
No description
int
getExpiresIn()
No description
bool
shouldExpire(int $startedAt)
No description
bool
canRunTask()
No description
bool
isCancelled()
No description