public function setCity($city)
    {
        if (!is_string($city)) {
            $city = strval($city);
        }

        $this->city = $city;
    }
public function setCity($city)
    {
        if (!is_string($city)) {
            $city = strval($city);
        }

        $this->city = $city;
    }
public function setCity ( $ city ) { if ( ! is_string ( $ city ) ) { $ city = strval ( $ city ) ; } $ this -> city = $ city ; }
Sets the city.

@param string $city city

@return void
Sets the city .