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

Methods

null|int
getId()

No description

$this
setId(int $id)

No description

__construct(QueuedJobDescriptor $descriptor)

No description

array
__serialize()

No description

void
__unserialize(array $data)

No description

string
serialize() deprecated

The __serialize() magic method will be automatically used instead of this

unserialize($serialized) 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

Details

null|int getId()

Return Value

null|int

$this setId(int $id)

Parameters

int $id

Return Value

$this

QueuedJobDescriptor getDescriptor()

Return Value

QueuedJobDescriptor

__construct(QueuedJobDescriptor $descriptor)

Parameters

QueuedJobDescriptor $descriptor

array __serialize()

Return Value

array

void __unserialize(array $data)

Parameters

array $data

Return Value

void

string serialize() deprecated

deprecated 4.11.0 Use __serialize() instead

The __serialize() magic method will be automatically used instead of this

Return Value

string

unserialize($serialized) deprecated

deprecated 4.11.0 Use __unserialize() instead

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

Parameters

$serialized

Exceptions

InvalidArgumentException

string getHandler()

Return Value

string

array getData()

Return Value

array

bool ignoresRules()

Return Value

bool

bool stopsSiblings()

Return Value

bool

int getExpiresIn()

Return Value

int

bool shouldExpire(int $startedAt)

Parameters

int $startedAt

Return Value

bool

bool canRunTask()

Return Value

bool

bool isCancelled()

Return Value

bool