public function getCity($id)
    {
        $this->loadCities();
        if (isset($this->_cities[$id])) {
            return $this->_cities[$id];
        }
        throw new CountryException("City not found");
    }
public function getCity($id)
    {
        $this->loadCities();
        if (isset($this->_cities[$id])) {
            return $this->_cities[$id];
        }
        throw new CountryException("City not found");
    }
public function getCity ( $ id ) { $ this -> loadCities ( ) ; if ( isset ( $ this -> _cities [ $ id ] ) ) { return $ this -> _cities [ $ id ] ; } throw new CountryException ( "City not found" ) ; }
method get city by id
@param int $id
@return \Didww\API2\City
@throws CountryException
method get city by id