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 getPhone(): ?string { return $this->phone; } public function setPhone(?string $phone): static { $this->phone = $phone; 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 getCategory(): ?string { return $this->category; } public function setCategory(?string $category): static { $this->category = $category; 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 (null === $user && null !== $this->user) { $this->user->setContact(null); } // set the owning side of the relation if necessary if (null !== $user && $user->getContact() !== $this) { $user->setContact($this); } $this->user = $user; return $this; } }