Enter a type and click search.




Results for BraintreeLpmValidatorPool

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

<virtualType name="BraintreeLpm"
             type="Magento\Payment\Model\Method\Adapter">
    <arguments>
        <argument name="code" xsi:type="const">
            PayPal\Braintree\Model\Lpm\Ui\ConfigProvider::METHOD_CODE
        </argument>
        <argument name="valueHandlerPool" xsi:type="object">
            BraintreeLpmValueHandlerPool
        </argument>
        <argument name="validatorPool" xsi:type="object">
            BraintreeLpmValidatorPool
        </argument>
        <argument name="commandPool" xsi:type="object">
            BraintreeLpmCommandPool
        </argument>
        <argument name="formBlockType" xsi:type="object">
            Magento\Payment\Block\Form
        </argument>
        <argument name="infoBlockType" xsi:type="string">
            PayPal\Braintree\Block\Info
        </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 BraintreeLpm object that it should return a Magento\Payment\Model\Method\Adapter object.

This configuration tells the Object Manager that when a user wants a BraintreeLpm 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="BraintreeLpmValidatorPool"
             type="Magento\Payment\Gateway\Validator\ValidatorPool">
    <arguments>
        <argument name="validators" xsi:type="array">
            <item name="country" xsi:type="string">
                BraintreeCountryValidator
            </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 BraintreeLpmValidatorPool object that it should return a Magento\Payment\Gateway\Validator\ValidatorPool object.

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

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