Smalot\Magento\Catalog\ProductAttributeSet::attributeAdd PHP Method

attributeAdd() public method

Allows you to add an existing attribute to an attribute set.
public attributeAdd ( string $attributeId, string $attributeSetId, string $attributeGroupId = null, string $sortOrder = null ) : Smalot\Magento\ActionInterface
$attributeId string
$attributeSetId string
$attributeGroupId string
$sortOrder string
return Smalot\Magento\ActionInterface
    public function attributeAdd($attributeId, $attributeSetId, $attributeGroupId = null, $sortOrder = null)
    {
        return $this->__createAction('product_attribute_set.attributeAdd', func_get_args());
    }