Enter a type and click search.




Results for BraintreePayPalValidatorPool

File: vendor/paypal/module-braintree-core/etc/di.xml

<virtualType name="BraintreePayPalFacade" type="BraintreeFacade">
    <arguments>
        <argument name="code" xsi:type="const">
            PayPal\Braintree\Model\Ui\PayPal\ConfigProvider::PAYPAL_CODE
        </argument>
        <argument name="infoBlockType" xsi:type="string">
            BraintreePayPalInfo
        </argument>
        <argument name="valueHandlerPool" xsi:type="object">
            BraintreePayPalValueHandlerPool
        </argument>
        <argument name="validatorPool" xsi:type="object">
            BraintreePayPalValidatorPool
        </argument>
        <argument name="commandPool" xsi:type="object">
            BraintreePayPalCommandPool
        </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 BraintreePayPalFacade object that it should return a BraintreeFacade object.

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

File: vendor/paypal/module-braintree-core/etc/di.xml

<virtualType name="BraintreePayPalValidatorPool"
             type="Magento\Payment\Gateway\Validator\ValidatorPool">
    <arguments>
        <argument name="validators" xsi:type="array">
            <item name="country" xsi:type="string">
                BraintreePayPalCountryValidator
            </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 BraintreePayPalValidatorPool object that it should return a Magento\Payment\Gateway\Validator\ValidatorPool object.

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

  • $validators = [...items...];