Log in
Model

SetRepository

Magento\Catalog\Model\Product\Attribute\SetRepository

What it does

This repository class manages CRUD operations for product attribute sets in Magento 2.

Developers use it to retrieve, create, update, or delete attribute sets that are specifically assigned to products, ensuring operations only work with product-related attribute sets through validation.

It acts as a specialized wrapper around the generic EAV attribute set repository, filtering results to product entity types only.

Public Methods

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