RemoteTask
in package
FinalYes
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- fromArray() : self
- A remote task carries either the `taskUid` it was enqueued with on the remote, or the `error` that prevented it from being enqueued there.
Properties
$error read-only
public
TaskError|null
$error
$taskUid read-only
public
int|null
$taskUid
Methods
__construct()
public
__construct(int|null $taskUid, TaskError|null $error) : mixed
Parameters
- $taskUid : int|null
- $error : TaskError|null
fromArray()
A remote task carries either the `taskUid` it was enqueued with on the remote, or the `error` that prevented it from being enqueued there.
public
static fromArray(RawRemoteTask $data) : self
Parameters
- $data : RawRemoteTask