upload = $upload; $this->status = $upload->getStatus(); $this->comment = $upload->getComment(); } public function getUpload(): Upload { return $this->upload; } public function getStatus(): ?string { return $this->status; } public function setStatus(?string $status): static { $this->status = $status; return $this; } public function getComment(): ?string { return $this->comment; } public function setComment(?string $comment): static { $this->comment = $comment; return $this; } }