AbstractJob Class
Aurora\Queue Namespace
Interfaces
Properties
data
Job data
protected $data: mixed
retries
Job retry count
protected $retries: int
uid
Job unique ID
protected $uid: string
Constructor
__construct
Constructor
Parameters
string
$uid
— Job unique IDmixed
$data
— Job dataint
$retries
— Job retry count
Signature
public function __construct(string $uid, mixed $data, int $retries)
Methods
__construct
Constructor
Parameters
-
string
$uid
— Job unique ID -
mixed
$data
— Job data -
int
$retries
— Job retry count
Signature
public function __construct(string $uid, mixed $data, int $retries)
getData
Get job data
Return Value
mixed
Signature
public function getData()
getUID
Get job unique ID
Return Value
string
Signature
public function getUID()
getRetries
Get job retry count
Return Value
int
Signature
public function getRetries()
complete
Complete the job
Return Value
void
Signature
public function complete(): void
failed
Fail the job
Return Value
void
Signature
public function failed(): void
retry
Retry the job
Return Value
void
Signature
public function retry(): void