getName(); } public function getId(): ?int { return $this->id; } public function getName(): ?string { return $this->name; } public function setName(string $name): static { $this->name = $name; return $this; } public function getEmail(): ?string { return $this->email; } public function setEmail(string $email): static { $this->email = $email; return $this; } public function getPhoto(): ?Upload { return $this->photo; } public function setPhoto(?Upload $photo): static { $this->photo = $photo; return $this; } public function getDestination(): ?string { return $this->destination; } public function setDestination(?string $destination): static { $this->destination = $destination; return $this; } public function getUser(): ?User { return $this->user; } public function setUser(?User $user): static { // unset the owning side of the relation if necessary if ($user === null && $this->user !== null) { $this->user->setContact(null); } // set the owning side of the relation if necessary if ($user !== null && $user->getContact() !== $this) { $user->setContact($this); } $this->user = $user; return $this; } }