Style = new AttributeItem(); $this->Style->deserialize($param["Style"]); } if (array_key_exists("Color",$param) and $param["Color"] !== null) { $this->Color = new AttributeItem(); $this->Color->deserialize($param["Color"]); } } }