Log in
Model

SetRepository

Magento\Catalog\Model\Product\Attribute\SetRepository

What it does

This class manages product attribute sets in Magento 2, providing CRUD operations (create, read, update, delete) specifically for product attribute sets.

Developers use this repository to programmatically manage attribute sets that define which attributes are available for products, ensuring all operations are validated to work only with product-related attribute sets and not other entity types.

Public Methods

  • save()
  • getList()
  • get()
  • delete()
  • deleteById()