Adds an attribute group.
Node\Attribute|Node\AttributeGroup $attribute:
$this The builder instance (for fluid interface)
public function addAttribute($attribute) { $this->attributeGroups[] = BuilderHelpers::normalizeAttribute($attribute); return $this; }