Enter a type and click search.




Results for BraintreePayPalValueHandlerPool

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="BraintreePayPalValueHandlerPool"
             type="Magento\Payment\Gateway\Config\ValueHandlerPool">
    <arguments>
        <argument name="handlers" xsi:type="array">
            <item name="default" xsi:type="string">
                BraintreePayPalConfigValueHandler
            </item>
            <item name="can_void" xsi:type="string">
                PayPal\Braintree\Gateway\Config\CanVoidHandler
            </item>
            <item name="can_cancel" xsi:type="string">
                PayPal\Braintree\Gateway\Config\CanVoidHandler
            </item>
            <item name="can_capture" xsi:type="string">
                PayPal\Braintree\Gateway\Config\CanVoidHandler
            </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 BraintreePayPalValueHandlerPool object that it should return a Magento\Payment\Gateway\Config\ValueHandlerPool object.

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

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