Log in
Model

Entity

Magento\Review\Model\ResourceModel\Rating\Entity

What it does

This resource model manages database operations for rating entities in Magento's review system.

Developers use this class to retrieve rating entity IDs by their code (like 'product', 'review', etc.) and to interact with the rating_entity database table.

It's primarily used when working with Magento's rating and review functionality to identify different types of entities that can be rated.

Public Methods

  • getIdByCode()