Log in
Model

CommentRepository

Magento\Sales\Model\Order\Creditmemo\CommentRepository

What it does

This class manages CRUD operations for credit memo comments in Magento 2.

Developers use it to retrieve, save, delete, or search for comments associated with credit memos, and it automatically handles sending email notifications to customers when comments are added.

It's the primary interface for working with credit memo comment data throughout the application.

Public Methods

  • get()
  • getList()
  • delete()
  • save()