niveau03s = new ArrayCollection(); $this->registrations = new ArrayCollection(); $this->users = 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 getApikey(): ?string { return $this->apikey; } public function setApikey(string $apikey): self { $this->apikey = $apikey; return $this; } public function getNiveau01(): ?Niveau01 { return $this->niveau01; } public function setNiveau01(?Niveau01 $niveau01): self { $this->niveau01 = $niveau01; return $this; } /** * @return Collection */ public function getNiveau03s(): Collection { return $this->niveau03s; } public function addNiveau03(Niveau03 $niveau03): self { if (!$this->niveau03s->contains($niveau03)) { $this->niveau03s->add($niveau03); $niveau03->setNiveau02($this); } return $this; } public function removeNiveau03(Niveau03 $niveau03): self { if ($this->niveau03s->removeElement($niveau03)) { // set the owning side to null (unless already changed) if ($niveau03->getNiveau02() === $this) { $niveau03->setNiveau02(null); } } return $this; } /** * @return Collection */ public function getRegistrations(): Collection { return $this->registrations; } public function addRegistration(Registration $registration): self { if (!$this->registrations->contains($registration)) { $this->registrations->add($registration); $registration->setNiveau02($this); } return $this; } public function removeRegistration(Registration $registration): self { if ($this->registrations->removeElement($registration)) { // set the owning side to null (unless already changed) if ($registration->getNiveau02() === $this) { $registration->setNiveau02(null); } } return $this; } /** * @return Collection */ public function getUsers(): Collection { return $this->users; } public function addUser(User $user): self { if (!$this->users->contains($user)) { $this->users->add($user); $user->setNiveau02($this); } return $this; } public function removeUser(User $user): self { if ($this->users->removeElement($user)) { // set the owning side to null (unless already changed) if ($user->getNiveau02() === $this) { $user->setNiveau02(null); } } return $this; } public function getCode(): ?string { return $this->code; } public function setCode(?string $code): self { $this->code = $code; return $this; } public function getPostaladress(): ?string { return $this->postaladress; } public function setPostaladress(?string $postaladress): self { $this->postaladress = $postaladress; return $this; } public function getTelephonenumber(): ?string { return $this->telephonenumber; } public function setTelephonenumber(?string $telephonenumber): self { $this->telephonenumber = $telephonenumber; return $this; } public function getEmail(): ?string { return $this->email; } public function setEmail(?string $email): self { $this->email = $email; return $this; } }