Log in
Interface

ShipmentCommentResourceInterface

Magento\Sales\Model\Spi\ShipmentCommentResourceInterface

What it does

This interface defines the contract for persistence operations (save, load, delete) on shipment comment resources in Magento 2.

Developers use this interface when they need to interact with the database layer for shipment comments, ensuring consistent data access patterns.

It serves as a Service Provider Interface (SPI) that can be implemented or injected when managing shipment comment data.

Public Methods

  • save()
  • load()
  • delete()