Enter a type and click search.




Results for Magento\Payment\Gateway\ErrorMapper\XmlToArrayConverter

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.