File: vendor/paypal/module-braintree-core/etc/di.xml
<virtualType name="BraintreePayPalVaultFacade"
type="Magento\Vault\Model\Method\Vault">
<arguments>
<argument name="config" xsi:type="object">
BraintreePayPalVaultPaymentConfig
</argument>
<argument name="valueHandlerPool" xsi:type="object">
BraintreePayPalVaultPaymentValueHandlerPool
</argument>
<argument name="vaultProvider" xsi:type="object">
BraintreePayPalFacade
</argument>
<argument name="code" xsi:type="const">
PayPal\Braintree\Model\Ui\PayPal\ConfigProvider::PAYPAL_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
BraintreePayPalVaultFacade
object that it should return a
Magento\Vault\Model\Method\Vault
object.
This configuration tells the Object Manager that when a user wants a
BraintreePayPalVaultFacade
object that the following arguments should be used in the foo object's constructor.
|