Enter a type and click search.




Results for Magento\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";
Results for Magento\Payment\Gateway\ErrorMapper\VirtualConfigReader

File: vendor/magento/module-payment/etc/di.xml

<type name="Magento\Payment\Gateway\ErrorMapper\MappingData">
    <arguments>
        <argument name="reader" xsi:type="object">
            Magento\Payment\Gateway\ErrorMapper\VirtualConfigReader
        </argument>
        <argument name="cacheId" xsi:type="string">
            payment_error_mapper
        </argument>
    </arguments>
</type>

This is a type configuration.

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

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

File: vendor/magento/module-payment/etc/di.xml

<virtualType name="Magento\Payment\Gateway\ErrorMapper\VirtualConfigReader"
             type="Magento\Framework\Config\Reader\Filesystem">
    <arguments>
        <argument name="converter" xsi:type="object">
            Magento\Payment\Gateway\ErrorMapper\XmlToArrayConverter
        </argument>
        <argument name="schemaLocator" xsi:type="object">
            Magento\Payment\Gateway\ErrorMapper\VirtualSchemaLocator
        </argument>
        <argument name="fileName" xsi:type="string">
            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 Magento\Payment\Gateway\ErrorMapper\VirtualConfigReader object that it should return a Magento\Framework\Config\Reader\Filesystem object.

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