File: vendor/magento/module-store/etc/di.xml
<type name="Magento\Framework\App\ScopeResolverPool">
<arguments>
<argument name="scopeResolvers" xsi:type="array">
<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...];
|