projects = new ArrayCollection(); } public function getId(): ?int { return $this->id; } public function getTopic(): ?string { return $this->topic; } public function setTopic(string $topic): self { $this->topic = $topic; return $this; } public function getDate(): ?\DateTimeInterface { return $this->date; } public function setDate(\DateTimeInterface $date): self { $this->date = $date; return $this; } /** * @return Collection */ public function getProjects(): Collection { return $this->projects; } public function addProject(Project $project): self { if (!$this->projects->contains($project)) { $this->projects[] = $project; } return $this; } public function removeProject(Project $project): self { $this->projects->removeElement($project); return $this; } public function getInternalContributors(): ?string { return $this->internalContributors; } public function setInternalContributors(?string $internalContributors): self { $this->internalContributors = $internalContributors; return $this; } public function getExternalContributors(): ?string { return $this->externalContributors; } public function setExternalContributors(?string $externalContributors): self { $this->externalContributors = $externalContributors; return $this; } public function getContent(): ?string { return $this->content; } public function setContent(?string $content): self { $this->content = $content; return $this; } public function getFiles(): ?array { return $this->files; } public function setFiles(array $files): self { $this->files = $files; return $this; } }