X = $param["X"]; } if (array_key_exists("Y",$param) and $param["Y"] !== null) { $this->Y = $param["Y"]; } } }