Log in
Model

Entity

Magento\Review\Model\Rating\Entity

What it does

This model represents a rating entity in Magento's review system, which defines what can be rated (e.g., products, categories).

Developers use this class to retrieve entity IDs by their code, typically when setting up or managing rating configurations for different entity types that support customer reviews and ratings.

Public Methods

  • getIdByCode()