Log in
Model

Composite

Magento\Payment\Model\Method\Specification\Composite

What it does

This class implements a composite specification pattern for payment method validation.

Developers use it to combine multiple payment method specifications into a single validation check - all specifications must be satisfied for the payment method to be considered valid.

It's commonly used through virtual types in di.xml to create custom payment method filters that check multiple conditions simultaneously.

Public Methods

  • isSatisfiedBy()