id; } public function getName(): ?string { return $this->name; } public function setName(string $name): static { $this->name = $name; return $this; } public function getRestaurant(): ?Restaurant { return $this->restaurant; } public function setRestaurant(?Restaurant $restaurant): static { $this->restaurant = $restaurant; return $this; } }