name = $name; $this->country = $country; $this->cities = new ArrayCollection(); } public function getId() { return $this->id; } public function setId($id) { $this->id = $id; } public function getName() { return $this->name; } public function setName($name) { $this->name = $name; } public function getCountry() { return $this->country; } public function setCountry(Country $country) { $this->country = $country; } public function getCities() { return $this->cities; } public function setCities(ArrayCollection $cities) { $this->cities = $cities; } public function addCity(City $city) { $this->cities[] = $city; } }