Log in
Model

SourceValidatorChain

Magento\InventoryApi\Model\SourceValidatorChain

What it does

This class implements the Chain of Responsibility pattern to validate Source objects by running them through multiple validators sequentially.

Developers use this as an extension point to add custom source validation logic through dependency injection configuration, allowing multiple validation rules to be executed without modifying core code.

Public Methods

  • validate()