taskLog = $taskLog; $this->queueName = $queueName; $this->task = $task; $this->taskId = $taskId; } public function getTaskLog(): EntityInterface { return $this->taskLog; } public function getTask(): ?TaskInterface { return $this->task; } public function getTaskId(): ?string { return $this->taskId; } public function isOrphan(): bool { return !$this->task; } public function getQueueName(): string { return $this->queueName; } }