Enter a type and click search.




Results for Magento\Store\Model\Config\Reader\Store

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

<type name="Magento\Store\Model\Config\Reader\Store">
    <arguments>
        <argument name="scopePool" xsi:type="object">
            Magento\Framework\App\Config\ScopePool\Proxy
        </argument>
        <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\Config\Reader\Store 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\Store\Model\Config\Reader\ReaderPool">
    <arguments>
        <argument name="readers" xsi:type="array">
            <item name="default" xsi:type="object">
                Magento\Store\Model\Config\Reader\DefaultReader
            </item>
            <item name="website" xsi:type="object">
                Magento\Store\Model\Config\Reader\Website
            </item>
            <item name="websites" xsi:type="object">
                Magento\Store\Model\Config\Reader\Website
            </item>
            <item name="store" xsi:type="object">
                Magento\Store\Model\Config\Reader\Store
            </item>
            <item name="stores" xsi:type="object">
                Magento\Store\Model\Config\Reader\Store
            </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\Store\Model\Config\Reader\ReaderPool object that the following arguments should be used in the foo object's constructor.

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

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

<type name="Magento\Store\Model\Config\Reader\ReaderPool">
    <arguments>
        <argument name="readers" xsi:type="array">
            <item name="default" xsi:type="object">
                Magento\Store\Model\Config\Reader\DefaultReader
            </item>
            <item name="website" xsi:type="object">
                Magento\Store\Model\Config\Reader\Website
            </item>
            <item name="websites" xsi:type="object">
                Magento\Store\Model\Config\Reader\Website
            </item>
            <item name="store" xsi:type="object">
                Magento\Store\Model\Config\Reader\Store
            </item>
            <item name="stores" xsi:type="object">
                Magento\Store\Model\Config\Reader\Store
            </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\Store\Model\Config\Reader\ReaderPool object that the following arguments should be used in the foo object's constructor.

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