entries = new ArrayCollection(); } public function __toString() { return $this->getTitle(); } public function getWorkshopThematic(): ?WorkshopThematicInterface { return $this->workshopThematic; } public function setWorkshopThematic(WorkshopThematicInterface $workshopThematic): self { $this->workshopThematic = $workshopThematic; return $this; } public function getType(): ?TypeInterface { return $this->type; } public function setType(TypeInterface $type): self { $this->type = $type; return $this; } /** * @return Collection|EntryInterface[] */ public function getEntries(): Collection { return $this->entries; } public function addEntry(EntryInterface $entry): self { if (!$this->entries->contains($entry)) { $this->entries[] = $entry; } return $this; } public function removeEntry(EntryInterface $entry): self { if ($this->entries->contains($entry)) { $this->entries->removeElement($entry); } return $this; } public function getHook(): ?string { return $this->hook; } public function setHook(string $hook): self { $this->hook = $hook; return $this; } public function getVideoLink(): ?string { return $this->videoLink; } public function setVideoLink(?string $videoLink): self { $this->videoLink = $videoLink; return $this; } /** * @return Collection|SolutionInterface[] */ public function getSolutions(): Collection { return $this->solutions; } public function addSolution(SolutionInterface $solution): self { if (!$this->solutions->contains($solution)) { $this->solutions[] = $solution; } return $this; } public function removeSolution(SolutionInterface $solution): self { if ($this->solutions->contains($solution)) { $this->solutions->removeElement($solution); } return $this; } public function getEmailContact(): ?string { return $this->emailContact; } public function setEmailContact(string $emailContact): self { $this->emailContact = $emailContact; return $this; } public function getWebsite(): ?string { return $this->website; } public function setWebsite(string $website): self { $this->website = $website; return $this; } }