Log in
Model

ValidatorResultMerger

Magento\Sales\Model\ValidatorResultMerger

What it does

This class merges multiple validator result objects into a single consolidated result.

Developers use it when they need to combine validation outcomes from different validators, collecting all error/warning messages into one unified ValidatorResultInterface object for easier handling and display.

Public Methods

  • merge()