id = new Ulid; $this->extras = new ArrayCollection(); } public function getId(): Ulid { return $this->id; } public function getFoodOrder(): FoodOrder|null { return $this->foodOrder; } public function setFoodOrder(FoodOrder|null $foodOrder): static { $this->foodOrder = $foodOrder; return $this; } public function getMenuItem(): ?MenuItem { return $this->menuItem; } public function setMenuItem(?MenuItem $menuItem): static { $this->menuItem = $menuItem; return $this; } }