public function __construct($geoPoint = null, $address = null, $encodedLocation = null, $GeoLocationType = null) { parent::__construct(); $this->geoPoint = $geoPoint; $this->address = $address; $this->encodedLocation = $encodedLocation; $this->GeoLocationType = $GeoLocationType; }
public function __construct($geoPoint = NULL, $address = NULL, $encodedLocation = NULL, $GeoLocationType = NULL) { if (get_parent_class('InvalidGeoLocation')) { parent::__construct(); } $this->geoPoint = $geoPoint; $this->address = $address; $this->encodedLocation = $encodedLocation; $this->GeoLocationType = $GeoLocationType; }