Enter a type and click search.




Results for Magento\TestModuleFakePaymentMethod\Gateway\Config\Config

File: vendor/magento/magento2-base/dev/tests/integration/_files/Magento/TestModuleFakePaymentMethod/etc/di.xml

<virtualType name="Magento\TestModuleFakePaymentMethod\Gateway\Config\ConfigValueHandler"
             type="Magento\Payment\Gateway\Config\ConfigValueHandler">
    <arguments>
        <argument name="configInterface" xsi:type="object">
            Magento\TestModuleFakePaymentMethod\Gateway\Config\Config
        </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\TestModuleFakePaymentMethod\Gateway\Config\ConfigValueHandler object that it should return a Magento\Payment\Gateway\Config\ConfigValueHandler object.

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

File: vendor/magento/magento2-base/dev/tests/integration/_files/Magento/TestModuleFakePaymentMethod/etc/di.xml

<virtualType name="Magento\TestModuleFakePaymentMethod\Gateway\Config\Config"
             type="Magento\Payment\Gateway\Config\Config">
    <arguments>
        <argument name="methodCode" xsi:type="string">
            fake
        </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\TestModuleFakePaymentMethod\Gateway\Config\Config object that it should return a Magento\Payment\Gateway\Config\Config object.

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

  • $methodCode = "fake";