Enter a type and click search.




Results for Magento\Payment\Gateway\Validator\ValidatorComposite

File: vendor/amzn/amazon-pay-module/etc/di.xml

<virtualType name="AmazonAuthorizationValidators"
             type="Magento\Payment\Gateway\Validator\ValidatorComposite">
    <arguments>
        <argument name="validators" xsi:type="array">
            <item name="contraints" xsi:type="string">
                Amazon\Payment\Gateway\Validator\ConstraintValidator
            </item>
            <item name="authcodes" xsi:type="string">
                Amazon\Payment\Gateway\Validator\AuthorizationValidator
            </item>
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual AmazonAuthorizationValidators object that it should return a Magento\Payment\Gateway\Validator\ValidatorComposite object.

This configuration tells the Object Manager that when a user wants a AmazonAuthorizationValidators object that the following arguments should be used in the foo object's constructor.

  • $validators = [...items...];