File: vendor/magento/module-signifyd/etc/di.xml
<virtualType name="PaymentMapperConfigReader"
type="Magento\Framework\Config\Reader\Filesystem">
<arguments>
<argument name="converter" xsi:type="object">
Magento\Signifyd\Model\PaymentMethodMapper\XmlToArrayConfigConverter
</argument>
<argument name="schemaLocator" xsi:type="object">
PaymentMapperSchemaLocator
</argument>
<argument name="fileName" xsi:type="string">
signifyd_payment_mapping.xml
</argument>
<argument name="idAttributes" xsi:type="array">
<item name="/config/payment_method_list/payment_method"
xsi:type="string">
name
</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
PaymentMapperConfigReader
object that it should return a
Magento\Framework\Config\Reader\Filesystem
object.
This configuration tells the Object Manager that when a user wants a
PaymentMapperConfigReader
object that the following arguments should be used in the foo object's constructor.
|