Log in
Model

AttributeRepository

Magento\Eav\Model\AttributeRepository

What it does

This class manages EAV (Entity-Attribute-Value) attributes in Magento 2, providing CRUD operations for attribute entities.

Developers use this repository to save, retrieve, search, and delete attributes for any EAV entity type (like products, categories, or customers) through a standardized API interface.

Public Methods

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