Interface
EntityInterface
Magento\Catalog\Model\EntityInterface
What it does
This interface defines a contract for catalog entities that require a unique entity identifier.
Developers implement this interface on catalog-related models (like products, categories) to ensure they have a standardized method for retrieving the entity ID, enabling consistent identification across the catalog system.
Public Methods
- getEntityId()