/** * @param City $city The city object to add. */ protected function doAddCity($city) { $this->collCities[] = $city; $city->setState($this); }