Model
Option
Magento\Review\Model\Rating\Option
What it does
This model represents a single rating option (e.g., 1-5 stars) within a product rating.
Developers use this class when working with product reviews and ratings, particularly when recording customer votes on specific rating criteria like Quality, Price, or Value.
It handles storing vote data and managing the rating option identifier.
Public Methods
- addVote()
- setId()