File: vendor/magento/module-paypal/etc/di.xml
<virtualType name="PayflowProCreditCardVaultFacade"
type="Magento\Vault\Model\Method\Vault">
<arguments>
<argument name="config" xsi:type="object">
PayflowProVaultPaymentConfig
</argument>
<argument name="valueHandlerPool" xsi:type="object">
PayflowProVaultPaymentValueHandlerPool
</argument>
<argument name="vaultProvider" xsi:type="object">
Magento\Paypal\Model\Payflow\Transparent
</argument>
<argument name="code" xsi:type="const">
Magento\Paypal\Model\Payflow\Transparent::CC_VAULT_CODE
</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
PayflowProCreditCardVaultFacade
object that it should return a
Magento\Vault\Model\Method\Vault
object.
This configuration tells the Object Manager that when a user wants a
PayflowProCreditCardVaultFacade
object that the following arguments should be used in the foo object's constructor.
|