Enter a type and click search.




Results for Magento\Store\Model\Resolver\Website

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

<type name="Magento\Store\Model\Resolver\Website">
    <arguments>
        <argument name="storeManager" xsi:type="object">
            Magento\Store\Model\StoreManagerInterface\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 Magento\Store\Model\Resolver\Website object that the following arguments should be used in the foo object's constructor.

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...];

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...];