educationStudentWishes = new ArrayCollection(); $this->educationStudentReregistrationsWishes = new ArrayCollection(); $this->documentWishes = new ArrayCollection(); $this->tags = new ArrayCollection(); } public function getId(): ?int { return $this->id; } public function getOrganization(): ?Organization { return $this->organization; } public function setOrganization(?Organization $organization): self { $this->organization = $organization; return $this; } public function getAccessOriginal(): ?Access { return $this->accessOriginal; } public function setAccessOriginal(?Access $accessOriginal): self { $this->accessOriginal = $accessOriginal; return $this; } public function getAccessFamilyWish(): ?AccessFamilyWish { return $this->accessFamilyWish; } public function setAccessFamilyWish(?AccessFamilyWish $accessFamilyWish): self { $this->accessFamilyWish = $accessFamilyWish; return $this; } public function getImage(): ?File { return $this->image; } public function setImage(?File $image): self { $this->image = $image; return $this; } public function getAddressCountry(): ?Country { return $this->addressCountry; } public function setAddressCountry(?Country $addressCountry): self { $this->addressCountry = $addressCountry; return $this; } /** * @return Collection */ public function getEducationStudentWishes(): Collection { return $this->educationStudentWishes; } public function addEducationStudentWish(EducationStudentWish $educationStudentWish): self { if (!$this->educationStudentWishes->contains($educationStudentWish)) { $this->educationStudentWishes[] = $educationStudentWish; $educationStudentWish->setAccessWish($this); } return $this; } public function removeEducationStudentWish(EducationStudentWish $educationStudentWish): self { if ($this->educationStudentWishes->removeElement($educationStudentWish)) { // set the owning side to null (unless already changed) if ($educationStudentWish->getAccessWish() === $this) { $educationStudentWish->setAccessWish(null); } } return $this; } /** * @return Collection */ public function getEducationStudentReregistrationsWishes(): Collection { return $this->educationStudentReregistrationsWishes; } public function addEducationStudentReregistrationsWish(EducationStudentWish $educationStudentReregistrationsWish): self { if (!$this->educationStudentReregistrationsWishes->contains($educationStudentReregistrationsWish)) { $this->educationStudentReregistrationsWishes[] = $educationStudentReregistrationsWish; $educationStudentReregistrationsWish->setAccessWishReregistrations($this); } return $this; } public function removeEducationStudentReregistrationsWish(EducationStudentWish $educationStudentReregistrationsWish): self { if ($this->educationStudentReregistrationsWishes->removeElement($educationStudentReregistrationsWish)) { // set the owning side to null (unless already changed) if ($educationStudentReregistrationsWish->getAccessWishReregistrations() === $this) { $educationStudentReregistrationsWish->setAccessWishReregistrations(null); } } return $this; } /** * @return Collection */ public function getDocumentWishes(): Collection { return $this->documentWishes; } public function addDocumentWish(DocumentWish $documentWish): self { if (!$this->documentWishes->contains($documentWish)) { $this->documentWishes[] = $documentWish; $documentWish->setAccessWish($this); } return $this; } public function removeDocumentWish(DocumentWish $documentWish): self { if ($this->documentWishes->removeElement($documentWish)) { // set the owning side to null (unless already changed) if ($documentWish->getAccessWish() === $this) { $documentWish->setAccessWish(null); } } return $this; } /** * @return Collection */ public function getTags(): Collection { return $this->tags; } public function addTag(Tagg $tag): self { if (!$this->tags->contains($tag)) { $this->tags[] = $tag; } return $this; } public function removeTag(Tagg $tag): self { $this->tags->removeElement($tag); return $this; } }