Log in
Model

CompositeProductSalabilityChangeProcessor

Magento\InventoryIndexer\Model\CompositeProductSalabilityChangeProcessor

What it does

This class implements a composite pattern to execute multiple product salability change processors in sequence.

Developers use it to coordinate various operations that need to happen when product salability changes (e.g., inventory updates, cache invalidation).

It accepts an array of processors through dependency injection and executes them all when product SKUs have salability changes.

Public Methods

  • execute()