supported_areas = new ArrayCollection(); $this->items = new ArrayCollection(); } public function getID() { return $this->id; } public function setName($name) { $this->name = $name; return $this; } public function getName() { return $this->name; } public function getSupportedAreaObjects() { return $this->supported_areas; } public function getSupportedAreas() { $str_supported_areas = []; foreach ($this->supported_areas as $supported_area) $str_supported_areas[] = $supported_area->getID(); return $str_supported_areas; } public function clearSupportedAreas() { $this->supported_areas->clear(); return $this; } public function getItemPrices() { return $this->item_prices; } }