Enter a type and click search.




Results for Magento\Store\Model\Plugin\StoreCookie

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

<type name="Magento\Framework\App\FrontController">
    <plugin name="install"
            type="Magento\Framework\Module\Plugin\DbStatusValidator"
            sortOrder="40"></plugin>
    <plugin name="storeCookieValidate"
            type="Magento\Store\Model\Plugin\StoreCookie"
            sortOrder="10"></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 plugin class with Magento\Framework\App\FrontController objects.

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

<type name="Magento\Store\Model\Plugin\StoreCookie">
    <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\Plugin\StoreCookie object that the following arguments should be used in the foo object's constructor.