CommentRepository
Magento\Sales\Model\Order\Shipment\CommentRepository
What it does
This repository class manages CRUD operations for shipment comments in Magento 2.
Developers use it to retrieve, save, or delete comments associated with order shipments, and it automatically sends email notifications to customers when comments are added with the notify flag enabled.
It provides a standardized API interface for working with shipment comment data throughout the system.
Public Methods
- getList()
- get()
- delete()
- save()