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