Log in
Interface

SaveInterface

Magento\Inventory\Model\Source\Command\SaveInterface

What it does

This interface defines a service contract for saving inventory source data in Magento's Multi-Source Inventory (MSI) system.

Developers implement this interface to customize how inventory sources are persisted to the database, typically extending default behavior for validation or data transformation.

It acts as a Service Provider Interface (SPI) that the SourceRepository delegates to when saving source entities.

Public Methods

  • execute()