Enter a type and click search.




Results for Klarna\Core\Helper\KlarnaConfig

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

<type name="Klarna\Core\Helper\KlarnaConfig">
    <arguments>
        <argument name="config" xsi:type="object">
            Klarna\Core\Config\Virtual
        </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\Core\Helper\KlarnaConfig object that the following arguments should be used in the foo object's constructor.

Results for Klarna\Core\Helper\KlarnaConfig

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

<type name="Klarna\Core\Helper\KlarnaConfig">
    <plugin sortOrder="100"
            name="klarnaKpKlarnaConfig"
            type="Klarna\Kp\Plugin\Helper\KlarnaConfigPlugin"></plugin>
</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 also tells the object manager to use the Klarna\Kp\Plugin\Helper\KlarnaConfigPlugin plugin class with Klarna\Core\Helper\KlarnaConfig objects.

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

<virtualType name="KpKlarnaConfig"
             type="Klarna\Core\Helper\KlarnaConfig">
    <arguments>
        <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 KpKlarnaConfig object that it should return a Klarna\Core\Helper\KlarnaConfig object.

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

  • $eventPrefix = "kp";