ProductAttributeRepositoryDeleterInterface
in
Interface ProductAttributeRepositoryDeleterInterface
Tags
Table of Contents
- deleteAttributeById() : ProductAttributeRepositoryDeleterInterface|$this
- Removes a product attribute entity by the given product attribute id.
- deleteAttributesByProductId() : ProductAttributeRepositoryDeleterInterface|$this
- Removes all product attributes entities that belongs to the given product entity id.
Methods
deleteAttributeById()
Removes a product attribute entity by the given product attribute id.
public
deleteAttributeById(IdType $productAttributeId) : ProductAttributeRepositoryDeleterInterface|$this
Parameters
- $productAttributeId : IdType
-
Id of attribute entity to delete.
Return values
ProductAttributeRepositoryDeleterInterface|$this —Same instance for chained method calls.
deleteAttributesByProductId()
Removes all product attributes entities that belongs to the given product entity id.
public
deleteAttributesByProductId(IdType $productId) : ProductAttributeRepositoryDeleterInterface|$this
Parameters
- $productId : IdType
-
Id of product entity which belongs to the product attribute entities to delete.
Return values
ProductAttributeRepositoryDeleterInterface|$this —Same instance for chained method calls.