Enter a type and click search.




Results for Magento\Framework\App\ScopeResolverPool

File: vendor/magento/magento2-base/app/etc/di.xml

<type name="Magento\Framework\App\ScopeResolverPool">
    <arguments>
        <argument name="scopeResolvers" xsi:type="array">
            <item name="default" xsi:type="object">
                Magento\Framework\App\ScopeResolver
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is the application level configuration (`app/etc/di.xml`) fo the object manager. It is not a part of a specific module, but will apply to all sub-applications in Magento 2 (cart, admin, api, cron, etc).

This configuration tells the Object Manager that when a user wants a Magento\Framework\App\ScopeResolverPool object that the following arguments should be used in the foo object's constructor.

  • $scopeResolvers = [...items...];
Results for Magento\Framework\App\ScopeResolverPool

File: vendor/magento/module-store/etc/di.xml

<type name="Magento\Framework\App\ScopeResolverPool">
    <arguments>
        <argument name="scopeResolvers" xsi:type="array">
            <item name="default" xsi:type="object">
                Magento\Framework\App\ScopeResolver
            </item>
            <item name="store" xsi:type="object">
                Magento\Store\Model\Resolver\Store
            </item>
            <item name="stores" xsi:type="object">
                Magento\Store\Model\Resolver\Store
            </item>
            <item name="group" xsi:type="object">
                Magento\Store\Model\Resolver\Group
            </item>
            <item name="website" xsi:type="object">
                Magento\Store\Model\Resolver\Website
            </item>
            <item name="websites" xsi:type="object">
                Magento\Store\Model\Resolver\Website
            </item>
        </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 Magento\Framework\App\ScopeResolverPool object that the following arguments should be used in the foo object's constructor.

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