Enter a type and click search.




Results for Amazon\Payment\Gateway\ErrorMapper\VirtualConfigReader

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

<virtualType name="Amazon\Payment\Gateway\ErrorMapper\VirtualConfigReader"
             type="Magento\Payment\Gateway\ErrorMapper\VirtualConfigReader">
    <arguments>
        <argument name="fileName" xsi:type="string">
            amazon_error_mapping.xml
        </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 Amazon\Payment\Gateway\ErrorMapper\VirtualConfigReader object that it should return a Magento\Payment\Gateway\ErrorMapper\VirtualConfigReader object.

This configuration tells the Object Manager that when a user wants a Amazon\Payment\Gateway\ErrorMapper\VirtualConfigReader object that the following arguments should be used in the foo object's constructor.

  • $fileName = "amazon_error_mapping.xml";

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

<virtualType name="Amazon\Payment\Gateway\ErrorMapper\VirtualMappingData"
             type="Magento\Payment\Gateway\ErrorMapper\MappingData">
    <arguments>
        <argument name="reader" xsi:type="object">
            Amazon\Payment\Gateway\ErrorMapper\VirtualConfigReader
        </argument>
        <argument name="cacheId" xsi:type="string">
            amazon_error_mapper
        </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 Amazon\Payment\Gateway\ErrorMapper\VirtualMappingData object that it should return a Magento\Payment\Gateway\ErrorMapper\MappingData object.

This configuration tells the Object Manager that when a user wants a Amazon\Payment\Gateway\ErrorMapper\VirtualMappingData object that the following arguments should be used in the foo object's constructor.