Enter a type and click search.




Results for PaymentMapperSchemaLocator

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

<virtualType name="PaymentMapperSchemaLocator"
             type="Magento\Framework\Config\GenericSchemaLocator">
    <arguments>
        <argument name="moduleName" xsi:type="string">
            Magento_Signifyd
        </argument>
        <argument name="schema" xsi:type="string">
            signifyd_payment_mapping.xsd
        </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 PaymentMapperSchemaLocator object that it should return a Magento\Framework\Config\GenericSchemaLocator object.

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

  • $moduleName = "Magento_Signifyd";
  • $schema = "signifyd_payment_mapping.xsd";

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.