Repository
AttributeRepositoryInterface
Magento\Eav\Api\AttributeRepositoryInterface
What it does
This interface defines the contract for managing EAV (Entity-Attribute-Value) attributes in Magento 2.
Developers use this repository to retrieve, create, update, and delete attributes for any entity type (like products, customers, or categories) through a standardized API.
It's the primary interface for programmatic attribute management across different Magento modules.
Public Methods
- getList()
- get()
- save()
- delete()
- deleteById()