Enter a type and click search.




Results for KpConfigHelper

File: vendor/klarna/module-kp/etc/di.xml

<type name="Klarna\Kp\Model\KpConfigProvider">
    <arguments>
        <argument name="config" xsi:type="object">
            KpConfigHelper
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Klarna\Kp\Model\KpConfigProvider object that the following arguments should be used in the foo object's constructor.

File: vendor/klarna/module-kp/etc/di.xml

<type name="Klarna\Kp\Model\Api\Builder\Kasper">
    <arguments>
        <argument name="collector" xsi:type="object">
            KpCollector
        </argument>
        <argument name="configHelper" xsi:type="object">
            KpConfigHelper
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Klarna\Kp\Model\Api\Builder\Kasper object that the following arguments should be used in the foo object's constructor.

File: vendor/klarna/module-kp/etc/di.xml

<type name="Klarna\Kp\Model\Api\Rest\Service\Payments">
    <arguments>
        <argument name="log" xsi:type="object">
            Klarna\Core\Logger\Logger
        </argument>
        <argument name="configHelper" xsi:type="object">
            KpConfigHelper
        </argument>
        <argument name="klarnaConfig" xsi:type="object">
            Klarna\Core\Helper\KlarnaConfig\Proxy
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Klarna\Kp\Model\Api\Rest\Service\Payments object that the following arguments should be used in the foo object's constructor.

File: vendor/klarna/module-kp/etc/di.xml

<type name="Klarna\Kp\Gateway\Validator\SessionValidator">
    <arguments>
        <argument name="log" xsi:type="object">
            Klarna\Core\Logger\Logger
        </argument>
        <argument name="helper" xsi:type="object">
            KpConfigHelper
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Klarna\Kp\Gateway\Validator\SessionValidator object that the following arguments should be used in the foo object's constructor.

File: vendor/klarna/module-kp/etc/di.xml

<virtualType name="KpConfigHelper"
             type="Klarna\Core\Helper\ConfigHelper">
    <arguments>
        <argument name="code" xsi:type="const">
            Klarna\Kp\Model\Payment\Kp::METHOD_CODE
        </argument>
        <argument name="eventPrefix" xsi:type="string">
            kp
        </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 KpConfigHelper object that it should return a Klarna\Core\Helper\ConfigHelper object.

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

  • $code = Klarna\Kp\Model\Payment\Kp::METHOD_CODE;
  • $eventPrefix = "kp";