Enter a type and click search.




Results for Klarna\Core\Helper\ConfigHelper

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";