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