speakers = new ArrayCollection(); } public function getId(): ?int { return $this->id; } public function getLabel(): ?string { return $this->label; } public function setLabel(string $label): self { $this->label = $label; return $this; } public function getPersons(): ?int { return $this->persons; } public function setPersons(int $persons): self { $this->persons = abs($persons); return $this; } public function getThemeType(): ?ThemeType { return $this->themeType; } public function setThemeType(?ThemeType $themeType): self { $this->themeType = $themeType; return $this; } public function getContent(): ?string { return $this->content; } public function setContent(?string $content): self { $this->content = $content; return $this; } public function getComment(): ?string { return $this->comment; } public function setComment(?string $comment): self { $this->comment = $comment; return $this; } public function getFeedback(): ?string { return $this->feedback; } public function setFeedback(?string $feedback): self { $this->feedback = $feedback; return $this; } public function getDate(): ?\DateTimeInterface { return $this->date; } public function setDate(?\DateTimeInterface $date): self { $this->date = $date; return $this; } public function getPrice(): ?float { return $this->price; } public function setPrice(?float $price): self { $this->price = $price; return $this; } /** * @return Collection */ public function getSpeakers(): Collection { return $this->speakers; } public function addSpeaker(Speaker $speaker): self { if (!$this->speakers->contains($speaker)) { $this->speakers[] = $speaker; } return $this; } public function removeSpeaker(Speaker $speaker): self { $this->speakers->removeElement($speaker); return $this; } }